mdast-normalize-headings

Heading normalizer

Utility to normalize heading depths in documents to ensure only one top-level heading.

utility to make sure there is no more than a single top-level heading in the document

GitHub

6 stars
9 watching
0 forks
Language: JavaScript
last commit: over 1 year ago
markdownmdastmdast-utilsyntax-treeunist

Related projects:

Repository Description Stars
syntax-tree/mdast-util-heading-range Utility to find headings and replace content in their section 10
syntax-tree/nlcst-normalize A utility to normalize words for comparison by standardizing punctuation and case. 7
syntax-tree/mdast-util-toc Generates a table of contents from an MDAST tree 82
syntax-tree/mdast-zone Tool to manipulate markdown content by identifying and replacing sections defined by comments 15
syntax-tree/mdast-util-to-nlcst Utility to transform markdown syntax tree into natural language syntax tree 9
syntax-tree/mdast A format for representing Markdown syntax as an abstract syntax tree 1,099
syntax-tree/mdast-util-to-hast Transforms markdown syntax trees into HTML syntax trees 103
syntax-tree/hast-util-to-mdast Converts HTML syntax tree to markdown syntax tree 38
syntax-tree/mdast-util-to-string Utility to extract text content from markdown abstract syntax tree nodes 39
syntax-tree/mdast-util-definitions Tool to find and retrieve definition nodes in an MDAST (Markdown Abstract Syntax Tree) data structure 11
syntax-tree/mdast-util-assert Utility to validate and assert structure of markdown AST nodes 0
editor-js/header Provides a reusable UI component for creating headings in an editor 103
syntax-tree/xast-util-to-xml A utility to convert syntax trees into XML strings. 3
syntax-tree/unist-builder Utility to create syntax trees with ease 77
alexnault/react-headings Improves accessibility and SEO by automatically assigning proper heading levels to React components 78