pagedown-up

Adds links to legal citations within Markdown text.

npm install pagedown-up
1 downloads in the last week
4 downloads in the last month

citation-linker

Adds links to legal citations within Markdown text.

Installation

$ npm install citation-linker
citationLinker = require("citation-linker");

// dumb hack for multi-line string
var text = 
  [
    '- a list',
    '- of things',
    '- and stuff',
    '',
    'foo',
    'apples',
    'pursuant to 5 U.S.C. 552(a)(1)(E) and',
    'also pursuant to 47 C.F.R. Part 15',
    'and something else from: D.C. Official Code ยงยง 38-2602(b)(11)'
  ].join('\n');

console.log(safeConverter.makeHtml(text));
npm loves you