Jan-Erik Rediger
adde0c8cfb
Roundtripping markdown is actually quite hard. We don't actually require that. All we need is once parsing the markdown to find the right marker and the headings. We then manually generate markdown and all other content can be copied unparsed again.
16 lines
151 B
Markdown
16 lines
151 B
Markdown
# Chapter
|
|
|
|
<!-- toc -->
|
|
|
|
# Header 1
|
|
|
|
## Header 1.1
|
|
|
|
### Header 1.1.1
|
|
|
|
#### Header 1.1.1.1
|
|
|
|
##### Header 1.1.1.1.1
|
|
|
|
# Another header `with inline` code
|