Debian Codegraph @

test/syntax/source/code/asciidoc

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