linkify-citations

JS library to linkify the DOM

Usage no npm install needed!

<script type="module">
  import linkifyCitations from 'https://cdn.skypack.dev/linkify-citations';
</script>

README

linkify citations

Scans the DOM for legal citations, finds them, and turns them into HTML links.

Usage

<script src="https://s3.amazonaws.com/linkify-citations/linkify.min.js"></script>

Development/deployment

Pull requests merged into master will automatically be deployed to the S3 bucket. To test things out, you might want to try rawgit.

Dependencies

None! Everything is self-contained. Under the hood, a lot of the heavy lifting is done by citation.js (demo).