djot-0.1.0.0: test/headings.test
```
## Heading
.
<section id="Heading">
<h2>Heading</h2>
</section>
```
```
# Heading
# another
.
<section id="Heading">
<h1>Heading</h1>
</section>
<section id="another">
<h1>another</h1>
</section>
```
```
# Heading
# continued
.
<section id="Heading-continued">
<h1>Heading
continued</h1>
</section>
```
```
##
heading
para
.
<section id="heading">
<h2>heading</h2>
<p>para</p>
</section>
```
```
##
.
<section id="sec">
<h2></h2>
</section>
```
```
## Heading
### Next level
.
<section id="Heading">
<h2>Heading</h2>
<section id="Next-level">
<h3>Next level</h3>
</section>
</section>
```
```
# Heading
lazy
.
<section id="Heading-lazy">
<h1>Heading
lazy</h1>
</section>
```
```
# Heading
lazy
# more
lazy
text
.
<section id="Heading-lazy-more-lazy">
<h1>Heading
lazy
more
lazy</h1>
<p>text</p>
</section>
```
```
##Notheading
.
<p>##Notheading</p>
```
```
## Heading
.
<section id="Heading">
<h2>Heading</h2>
</section>
```
```
## heading ##
.
<section id="heading">
<h2>heading ##</h2>
</section>
```
```
# # heading
.
<section id="heading">
<h1># heading</h1>
</section>
```
Auto-identifiers:
```
{#Foo-bar}
Paragraph
# Foo bar
## Foo bar
{#baz}
# Foo bar
.
<p id="Foo-bar">Paragraph</p>
<section id="Foo-bar-2">
<h1>Foo bar</h1>
<section id="Foo-bar-1">
<h2>Foo bar</h2>
</section>
</section>
<section id="baz">
<h1>Foo bar</h1>
</section>
```
Implicit header references:
```
See [Introduction][].
# Introduction
.
<p>See <a href="#Introduction">Introduction</a>.</p>
<section id="Introduction">
<h1>Introduction</h1>
</section>
```
```
See [Introduction][].
{#foo}
# Introduction
.
<p>See <a href="#foo">Introduction</a>.</p>
<section id="foo">
<h1>Introduction</h1>
</section>
```
```
See [Introduction][].
# Introduction
[Introduction]: #bar
.
<p>See <a href="#bar">Introduction</a>.</p>
<section id="Introduction">
<h1>Introduction</h1>
</section>
```