Skip to content

Instantly share code, notes, and snippets.

@vdavez
Created August 12, 2014 18:28
Show Gist options
  • Save vdavez/21ee104629fb3cc11544 to your computer and use it in GitHub Desktop.
Save vdavez/21ee104629fb3cc11544 to your computer and use it in GitHub Desktop.
legalmd-gist
levels:
- form: '###$x.'
num: I
- form: '$x.'
num: A
- form: ($x)
num: 1
name: Legal Markdown
mustache: '[mustache powered-templating](http://mustache.github.io/)'

#Legal MarkdownJS


This web-page lets non-programmers create html files (the stuff that webpages are built from) using a few simple commands. The formatting conventions are from something called markdown.

It's much easier than a word processor program to do things like:

  1. create numbered lists,
  2. links to legal citations,
  3. font-size changes, and
  4. other formats.

And you can save your document in many different forms by clicking the save button above.

Check out how the citations below become links to the references in the text to the right. All I had to do was type in the citation. See, e.g., 35 USC 112 and D.C. Official Code 2-531.

It also handles outlining! Check this out:

##Table of Contents

l. |xref| Jurisdiction l. Background ll. Statement of Case

ll.Factual Background l. Standard of Review l. Argument l. Conclusion.

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>
<hr />
<p>This web-page lets non-programmers create <code>html</code> files (the stuff that webpages are built from) using a few simple commands. The formatting conventions are from something called <a href="http://daringfireball.net/projects/markdown/syntax">markdown</a>.</p>
<p>It's much easier than a word processor program to do things like: </p>
<ol>
<li><p>create numbered lists,</p></li>
<li><p>links to legal citations,</p></li>
<li><p>font-size changes, and</p></li>
<li><p>other formats. </p></li>
</ol>
<p>And you can <strong>save</strong> your document in many different forms by clicking the <code>save</code> button above.</p>
<p>Check out how the citations below become <code>links</code> to the references in the text to the right. All I had to do was type in the citation. 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>
<p>It also handles outlining! Check this out:</p>
<h2 id="tableofcontents">Table of Contents</h2>
<h3 id="ijurisdiction">I. Jurisdiction</h3>
<h3 id="iibackground">II. Background</h3>
<p>A. Statement of Case</p>
<p>B.Factual Background</p>
<h3 id="iiistandardofreview">III. Standard of Review</h3>
<h3 id="ivargument">IV. Argument</h3>
<h3 id="vconclusion">V. Conclusion.</h3>
<p>So, woohoo!</p>
<h2 id="templating">Templating</h2>
<p>Oh yeah. Did I mention that you can use <a href="http:&#x2F;&#x2F;mustache.github.io&#x2F;">mustache powered-templating</a>? 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