summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-header-attributes.test
blob: ba752d6e8ddd3e031491c446bc503a5b04d3965a (plain)
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
<<<
This test ensures that the Lua `headerAttributes` option is disabled by default.

# A level one heading {#first-id}

A level one heading {#second_id2}
=================================

## A level two heading ### {#third-3id .a-class}

A level two heading {#fourth4-id .2not-a-class}
-----------------------------------------------

### A level three heading ## {#5not-the-fifth-id}
#### A level four heading {#-6not-the-sixth-id}
##### A level five heading ## {#--7the-seventh-id}
###### A level six heading {#-_the-eighth-id attribute=value}
>>>
codeSpan: headerAttributes
interblockSeparator
headingOne: A level one heading (leftBrace)(hash)first-id(rightBrace)
interblockSeparator
headingOne: A level one heading (leftBrace)(hash)second(underscore)id2(rightBrace)
interblockSeparator
headingTwo: A level two heading (hash)(hash)(hash) (leftBrace)(hash)third-3id .a-class(rightBrace)
interblockSeparator
headingTwo: A level two heading (leftBrace)(hash)fourth4-id .2not-a-class(rightBrace)
interblockSeparator
headingThree: A level three heading (hash)(hash) (leftBrace)(hash)5not-the-fifth-id(rightBrace)
interblockSeparator
headingFour: A level four heading (leftBrace)(hash)-6not-the-sixth-id(rightBrace)
interblockSeparator
headingFive: A level five heading (hash)(hash) (leftBrace)(hash)--7the-seventh-id(rightBrace)
interblockSeparator
headingSix: A level six heading (leftBrace)(hash)-(underscore)the-eighth-id attribute=value(rightBrace)