Skip to content

Commit 859ae6f

Browse files
committed
initial readme
0 parents  commit 859ae6f

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# MarkdownIt Header Sections
2+
3+
Renders this markdown
4+
```md
5+
# Header 1
6+
Text.
7+
### Header 2
8+
Lorem?
9+
## Header 3
10+
Ipsum.
11+
# Last header
12+
Markdown rules!
13+
```
14+
15+
to this output (without indentation)
16+
```html
17+
<section id="header-1">
18+
<h1>Header 1</h1>
19+
<p>Text.</p>
20+
<section id="header-2">
21+
<h3>Header 2</h3>
22+
<p>Lorem?</p>
23+
</section>
24+
<section id="header-3">
25+
<h2>Header 3</h2>
26+
<p>Ipsum.</p>
27+
</section>
28+
</section>
29+
<section id="last-header">
30+
<h1>Last header</h1>
31+
<p>Markdown rules!</p>
32+
</section>
33+
```

0 commit comments

Comments
 (0)