mdast-util-to-string

Node text extractor

Utility to extract text content from markdown abstract syntax tree nodes

utility to get the plain text content of an mdast node

GitHub

39 stars
10 watching
9 forks
Language: JavaScript
last commit: 7 months ago
markdownmdastmdast-utilsyntax-treeunistutil

Related projects:

Repository Description Stars
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-toc Generates a table of contents from an MDAST tree 82
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-nlcst Utility to transform markdown syntax tree into natural language syntax tree 9
syntax-tree/mdast-util-assert Utility to validate and assert structure of markdown AST nodes 0
syntax-tree/mdast-util-heading-range Utility to find headings and replace content in their section 10
syntax-tree/mdast A format for representing Markdown syntax as an abstract syntax tree 1,099
syntax-tree/mdast-zone Tool to manipulate markdown content by identifying and replacing sections defined by comments 15
syntax-tree/xast-util-from-xml Utility to convert XML into a syntax tree data structure 15
syntax-tree/hast-util-to-text Utility function to extract plain text from HTML-like data structures 19
syntax-tree/hast-util-to-xast Utility to convert HTML syntax trees into XML syntax trees 4
syntax-tree/hast-util-from-text Utility to transform plain text into a hast node's visible content 2
syntax-tree/unist-util-remove Utility to remove nodes from a tree 22
syntax-tree/unist-util-select Tool for finding nodes in a tree using CSS-like selectors 61