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: about 3 years ago
markdownmdastmdast-utilsyntax-treeunist

Related projects:

RepositoryDescriptionStars
syntax-tree/mdast-util-heading-rangeUtility to find headings and replace content in their section10
syntax-tree/nlcst-normalizeA utility to normalize words for comparison by standardizing punctuation and case.7
syntax-tree/mdast-util-tocGenerates a table of contents from an MDAST tree83
syntax-tree/mdast-zoneTool to manipulate markdown content by identifying and replacing sections defined by comments15
syntax-tree/mdast-util-to-nlcstUtility to transform markdown syntax tree into natural language syntax tree9
syntax-tree/mdastA format for representing Markdown syntax as an abstract syntax tree1,122
syntax-tree/mdast-util-to-hastTransforms markdown syntax trees into HTML syntax trees105
syntax-tree/hast-util-to-mdastConverts HTML syntax tree to markdown syntax tree38
syntax-tree/mdast-util-to-stringUtility to extract text content from markdown abstract syntax tree nodes39
syntax-tree/mdast-util-definitionsTool to find and retrieve definition nodes in an MDAST (Markdown Abstract Syntax Tree) data structure11
syntax-tree/mdast-util-assertUtility to validate and assert structure of markdown AST nodes0
editor-js/headerProvides a reusable UI component for creating headings in an editor104
syntax-tree/xast-util-to-xmlA utility to convert syntax trees into XML strings.3
syntax-tree/unist-builderUtility to create syntax trees with ease77
alexnault/react-headingsImproves accessibility and SEO by automatically assigning proper heading levels to React components78