Debian Codegraph @

gcc/testsuite/gdc.test/compilable/ddoc_markdown_headings.d

raw
1 // PERMUTE_ARGS:
2 // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
3 // TEST_OUTPUT_FILE: extra-files/ddoc_markdown_headings.html
4 // OUTPUT_FILES: ${RESULTS_DIR}/compilable/ddoc_markdown_headings.html
5
6 /++
7 # ATX-Style Headings
8
9 # H1
10 ## H2
11 ### H3
12 #### H4
13 ##### H5
14 ###### H6
15
16 ### headings
17 ## with initial
18 # spaces
19
20 ## heading with *emphasis*
21
22 ## heading with trailing `#`'s #######
23 ## heading with trailing literal ##'s
24 ## heading with another trailing literal#
25 ## heading with backslash-escaped trailing #\##
26
27 ## Some empty headers:
28 ##
29 #
30 ### ###
31
32 # Not Headings
33
34 #hashtag not a heading because there's no space after the `#`
35
36 ####### Not a heading because it has more than 6 `#`'s
37
38 \## Not a heading because of the preceeding backslash
39 +/
40 module ddoc_markdown_headings;