How to use mdast-util-heading-range - 1 common examples

To help you get started, we’ve selected a few mdast-util-heading-range examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github listcommunity / support / src / markdownUtils.js View on Github external
function transformer(tree) {
    heading(tree, tocHeading, mutate);


mdast utility to use headings as ranges in mdast

Latest version published 9 months ago

Package Health Score

62 / 100
Full package analysis

Popular mdast-util-heading-range functions