Skip to content

Instantly share code, notes, and snippets.

@oboxodo
Created July 4, 2015 06:48
Show Gist options
  • Save oboxodo/f514d3bfe894bc1c85bd to your computer and use it in GitHub Desktop.
Save oboxodo/f514d3bfe894bc1c85bd to your computer and use it in GitHub Desktop.
Change section with li
<p>Independent paragraph.</p>
<section id="my-heading-1" class="level1">
<h1>My heading 1</h1>
<p>Para in heading 1.</p>
<section id="my-heading-2" class="level2">
<h2>My heading 2</h2>
<p>Para in heading 2</p>
</section>
</section>
<section id="another-heading-1" class="level1">
<h1>Another heading 1</h1>
<p>With its own para.</p>
</section>
<p>Independent paragraph.</p>
<ol>
<li id="my-heading-1" class="level1">
<h1>My heading 1</h1>
<p>Para in heading 1.</p>
<ol>
<li id="my-heading-2" class="level2">
<h2>My heading 2</h2>
<p>Para in heading 2</p>
</li>
</ol>
</li>
<li id="another-heading-1" class="level1">
<h1>Another heading 1</h1>
<p>With its own para.</p>
</li>
</ol>
Independent paragraph.
# My heading 1
Para in heading 1.
## My heading 2
Para in heading 2
# Another heading 1
With its own para.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment