1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
<span class="hljs-section">Hello, World!
============</span>
Author Name, <author@domain.foo>
you can write text <span class="hljs-link">http://example.com</span>[<span class="hljs-string">with links</span>], optionally
using an explicit link:<span class="hljs-link">http://example.com</span>[<span class="hljs-string">link prefix</span>].
<span class="hljs-bullet">* </span>single quotes around a phrase place <span class="hljs-emphasis">'emphasis'</span>
<span class="hljs-bullet">** </span>alternatively, you can put underlines around a phrase to add <span class="hljs-emphasis">_emphasis_</span>
<span class="hljs-bullet">* </span>astericks around a phrase make the text <span class="hljs-strong">*bold*</span>
<span class="hljs-bullet">* </span>pluses around a phrase make it <span class="hljs-code">+monospaced+</span>
<span class="hljs-bullet">* </span><span class="hljs-string">`smart'</span> quotes using a leading backtick and trailing single quote
<span class="hljs-bullet">** </span>use two of each for double <span class="hljs-string">``smart''</span> quotes
<span class="hljs-bullet">- </span>escape characters are supported
<span class="hljs-bullet">- </span>you can escape a quote inside emphasized text like <span class="hljs-emphasis">'here\'s johnny!'</span>
<span class="hljs-bullet">term:: </span>definition
<span class="hljs-bullet"> another term:: </span>another definition
<span class="hljs-comment">// this is just a comment</span>
Let's make a break.
'''
<span class="hljs-comment">////
we'll be right with you
after this brief interruption.
////</span>
<span class="hljs-section">== We're back!</span>
Want to see a image::<span class="hljs-link">images/tiger.png</span>[<span class="hljs-string">Tiger</span>]?
<span class="hljs-title">.Nested highlighting</span>
++++
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">this_is</span> <span class="hljs-attr">inline</span>=<span class="hljs-string">"xml"</span>></span></span><span class="xml"><span class="hljs-tag"></<span class="hljs-name">this_is</span>></span></span>
++++
<span class="hljs-quote">____
asciidoc is so powerful.
____</span>
another quote:
<span class="hljs-meta">[quote, Sir Arthur Conan Doyle, The Adventures of Sherlock Holmes]</span>
<span class="hljs-quote">____
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
____</span>
<span class="hljs-section">Getting Literal
---------------</span>
<span class="hljs-code"> want to get literal? prefix a line with a space.</span>
<span class="hljs-code">....
I'll join that party, too.
....</span>
<span class="hljs-bullet">. </span>one thing (yeah!)
<span class="hljs-bullet">. </span>two thing <span class="hljs-code">`i can write code`</span>, and <span class="hljs-code">`more`</span> wipee!
<span class="hljs-section">= Document Title (Level 0)</span>
<span class="hljs-section">== Level 1 Section Title</span>
<span class="hljs-section">=== Level 2 Section Title</span>
<span class="hljs-section">==== Level 3 Section Title</span>
<span class="hljs-section">===== Level 4 Section Title</span>
<span class="hljs-section">====== Level 5 Section Title</span>
<span class="hljs-comment">// symmetric Atx-style sections & headings</span>
<span class="hljs-section">= Document Title (Level 0) =</span>
<span class="hljs-section">== Level 1 Section Title ==</span>
<span class="hljs-section">=== Level 2 Section Title ===</span>
<span class="hljs-section">==== Level 3 Section Title ====</span>
<span class="hljs-section">===== Level 4 Section Title =====</span>
<span class="hljs-section">====== Level 5 Section Title ======</span>
<span class="hljs-symbol">NOTE: </span>AsciiDoc is quite cool, you should try it.
|