Skip to content

Instantly share code, notes, and snippets.

@evilstreak
Last active August 29, 2015 14:02
Show Gist options
  • Save evilstreak/7097e6f0cd6b4a93d996 to your computer and use it in GitHub Desktop.
Save evilstreak/7097e6f0cd6b4a93d996 to your computer and use it in GitHub Desktop.
New govspeak syntax for ordered lists with custom markers
$LegislativeList
1. The
quick
2. Brown fox
a) Jumps
over
ii) Foo
iv) Bar
viii) Baz
b) The lazy
3. Dog
<ol class="legislative-list">
<li>1. The quick</li>
<li>
2. Brown fox
<ol>
<li>
a) Jumps over
<ol>
<li>ii) Foo</li>
<li>iv) Bar</li>
<li>viii) Baz</li>
</ol>
</li>
<li>b) The lazy</li>
</ol>
</li>
<li>3. Dog</li>
</ol>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment