GitXplorerGitXplorer
a

downlaw

public
18 stars
3 forks
2 issues

Commits

List of commits on branch master.
Unverified
ee0860b8314f8e9f02eafd970077631d910cf64c

typo

aadelevie committed 11 years ago
Unverified
cb47e7e285659761c39740a50e16493ca4119be1

added section on build process

aadelevie committed 11 years ago
Unverified
20a768bc7c6b34ece6c5a5d8026437af1d80f740

using browserify to remove external js deps

aadelevie committed 11 years ago
Unverified
7358a8ad31d5fde860770cc41e750ea78b142597

typo and added line

aadelevie committed 11 years ago
Unverified
0146e8b6fec4f2fca16d413f0ff10e7b63f3b8b4

added hosting instructions

aadelevie committed 11 years ago
Unverified
6d7e293130d3df3a705f52da33f4f255150855de

minifies js

aadelevie committed 11 years ago

README

The README file for this repository.

downlaw

Write markdown with legal citations on the left, get rendered markdown on the right. Oh, and the legal citations become links.

See the demo: https://adelevie.github.io/downlaw/

Contribute!

Add your favorite legal citation to the default text by editing build/app.js.

Dev notes

Pull requests are welcome. File an issue if you have any questions.

  1. Clone the repo, cd into it
  2. Run npm install
  3. Edit src/app.jsx, then run gulp to transform it into a .js file.
  4. Open index.html in a browser.

Build Process

Running gulp does a few things:

  1. Transforms JSX into a Javascript
  2. Uses Browserify to make code usable on the client
  3. Minifies it

Check out the gulpfile to see how all of this is done.

Hosting

This is just a simple static website. At minimum, you just need index.html exposed to a web server (e.g. any static hostic will suffice) and make sure it points to a copy of build/app.js.

A very simple way to host this would be to fork the repo and create a gh-pages branch:

$ git clone git@github.com:[YOUR_USERNAME]/downlaw.git
$ cd downlaw
$ git branch gh-pages
$ git checkout gh-pages
$ git push origin gh-pages

License

MIT.

(c) 2014 Alan deLevie.