remark-extract-anchors

Extract anchors from a MD file.

Usage no npm install needed!

<script type="module">
  import remarkExtractAnchors from 'https://cdn.skypack.dev/remark-extract-anchors';
</script>

README

remark-extract-anchors

Extract anchors from a MD file.

Anchors are h1, h2, h3, h4, h5, h6 tags or their Markdown respective representation.