JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://wzrd.in/standalone/markdown-it@latest"></script>
<script src="https://wzrd.in/standalone/html@latest"></script>
<script src="https://wzrd.in/standalone/markdown-it-figure-references@1.0.0-alpha.5"></script>
<pre id="pre"></pre>
JavaScript
// Globals from wzrd.in (Browserify as a service).
console.log(markdownItFigureReferences)
const md = markdownIt();
md.use(markdownItFigureReferences);
const src = `# Hello World


`;
pre.textContent = html.prettyPrint(md.render(src));