pagedown-up

0.0.1 • Public • Published

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));

Readme

Keywords

none

Package Sidebar

Install

npm i pagedown-up

Weekly Downloads

0

Version

0.0.1

License

BSD

Last publish

Collaborators

  • adelevie