Skip to content

Instantly share code, notes, and snippets.

Created June 11, 2014 15:49
Show Gist options
  • Save anonymous/4498964c612903cd84ba to your computer and use it in GitHub Desktop.
Save anonymous/4498964c612903cd84ba to your computer and use it in GitHub Desktop.
legalmd-gist
levels:
- form: $x.
num: I
- form: $x.
num: A
- form: ($x)
num: 1
noun X: yo dawg
noun Y: yo yo
verb Z: yo yo

#Legal MarkdownJS

Type some markdown here to try it out. Legal citations become links.

See, e.g., 35 USC 112 and D.C. Official Code 2-531.

##Levels

l. |xref| Make nested lists ll. It's easy to do ll. Just add a lowercase l and a period . lll. Or many lll. You can even use cross references. Try adding a level before |xref| lll. Let your imagination run wild. l. So, woohoo!

##Templating

Oh yeah. Did I mention that you can use {{mustache}}? To use it, try setting some customization variables using the dropdown menu above.

<h1 id="legalmarkdownjs">Legal MarkdownJS</h1>
<p>Type some <em>markdown</em> here to try it out. Legal citations become links.</p>
<p>See, e.g., <a href='http://www.law.cornell.edu/uscode/text/35/112'>35 USC 112</a> and <a href='http://dccode.org/simple/sections/2-531.html'>D.C. Official Code 2-531</a>.</p>
<h2 id="levels">Levels</h2>
<p>I. Make nested lists</p>
<p>A. It's easy to do</p>
<p>B. Just add a lowercase <code>l</code> and a period <code>.</code></p>
<p>(1) Or many</p>
<p>(2) You can even use cross references. Try adding a level before I.</p>
<p>(3) Let your imagination run wild.</p>
<p>II. So, woohoo!</p>
<h2 id="templating">Templating</h2>
<p>Oh yeah. Did I mention that you can use ? To use it, try setting some customization variables using the dropdown menu above.</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment