AsciiDoc
-
Install the
jekyll-asciidoc
plugin in a local clone of this site, then build and serve the site. -
Check that the following AsciiDoc sample produces a display corresponding to the appended image.1
{% capture sample %}
.A method that returns the string "Hello, world"
[example]
[source,ruby]
----
def hello
"Hello, world"
end
----
{% endcapture %}
{{ sample | asciidocify }}
-
The AsciiDoc plugin is not white-listed on GitHub Pages. ↩