Sha256: 1d9e469982a2bfdc67178741863903698a5cb408fa814a2065dbc3adb6479a4d
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
Contents
:source-highlighter: coderay == Asciidoc(tor) Reference - http://asciidoctor.org/docs/user-manual/#syntax-highlighting[Source Highlighting] - http://asciidoctor.org/docs/user-manual/#passthrough-macros[Pass through Macros] == Syntax HighLighter === Text Text explaining where the code is located in *+++<span style="font-family: 'courier new', courier, monospace;">/directory structure</span>+++* Instructions of what the code is doing [source, txt, indent=0, subs="macros"] +++[directory structure]#+++ pass:quotes[*command syntax*] Remark : Asciidoctor substitution with macros is used === Java [source,java] ---- public class HelloWorld { public static void main(String[] args) { System.out.println(">> Hello Hyla Students"); } } ---- === XML [source,xml] ---- <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note> ---- === Ruby [source,ruby] ---- require 'asciidoctor' puts Asciidoctor.render_file('sample.adoc', :header_footer => true) ----
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hyla-1.0.2 | lib/templates/sample/asciidoc_source.adoc |
hyla-1.0.1 | lib/templates/sample/asciidoc_source.adoc |