File tree Expand file tree Collapse file tree 3 files changed +86
-11
lines changed Expand file tree Collapse file tree 3 files changed +86
-11
lines changed Original file line number Diff line number Diff line change 11.bzr
2+ adoc.html
3+ rst.html
24tmp
Original file line number Diff line number Diff line change 1- = h1
1+ = Asciidoc
22:idprefix:
33:idseparator: -
44:sectanchors:
88
99Preamble. This paragraph has some magic properties just because it is before the first h2. E.g., the Toc will go after it.
1010
11- == h2
11+ == Headings
1212
13- == include
13+ === Heading 3 1
1414
15- GitHub renders it as a link as of 2015-09-23: no path transversal :-(
15+ <<heading-3-1>>
1616
17- include::.git/HEAD[]
17+ <<Heading 3 1>>
1818
19- include::include.adoc[]
19+ <<heading-3-1,asdfqwer>>
20+
21+ == Hyperlinks
22+
23+ link:http://example.com[example site]
24+
25+ link:adoc.adoc
26+
27+ link::adoc.adoc
28+
29+ link:adoc.adoc[]
30+
31+ link::adoc.adoc[]
2032
21- == Another section
33+ == Images
2234
23- <<another-section>>
35+ [[my-png,My png]]
36+ .My amazing png
37+ [link=http://www.flickr.com/photos/javh/5448336655]
38+ image::png.png[]
2439
25- <<Another section >>
40+ <<my-png >>
2641
27- <<another-section,asdfqwer>>
42+ == Tables
2843
29- [[]]
44+ [[my-table,My table]]
45+ .My amazing table
46+ |===
47+ |Name of Column 1 |Name of Column 2 |Name of Column 3
48+ |Cell in column 1, row 1 |Cell in column 2, row 1 |Cell in column 3, row 1
49+ |Cell in column 1, row 2 |Cell in column 2, row 2 |Cell in column 3, row 2
50+ |===
51+
52+ <<my-table>>
53+
54+ == include
55+
56+ GitHub renders it as a link as of 2015-09-23: no path transversal :-(
57+
58+ include::.git/HEAD[]
59+
60+ include::include.adoc[]
Original file line number Diff line number Diff line change 1+ reStructuredText
2+ ================
3+
4+ .. contents ::
5+
6+ Headers
7+ -------
8+
9+ Header 3 1
10+ ----------
11+
12+ asdf
13+
14+ Header 3 2
15+ ----------
16+
17+ qwer
18+
19+ .. _custom-id :
20+
21+ Header Custon Id
22+ ----------------
23+
24+ qwer
25+
26+ Hyperlink
27+ .........
28+
29+ `example link <http://www.example.com/ >`_
30+
31+ Hyperlink _
32+
33+ `Header 3 1 `_
34+
35+ `custom-id `_
36+
37+ `Custom id <#custom-id >`_
38+
39+ Bibliography
40+ ------------
41+
42+ - http://docutils.sourceforge.net/docs/user/rst/quickref.html
You can’t perform that action at this time.
0 commit comments