Skip to content
Discussion options

You must be logged in to vote

Duplicate of https://github.com/orgs/remarkjs/discussions/1067, https://github.com/orgs/remarkjs/discussions/1194, and micromark/micromark#59

remark is an AST library

AST is short for Abstract Syntax Tree, the Abstract part focuses on simplifying working on structure, intentionally glossing over or normalizing stylistic parts of the language, like spaces or which list marker is used which don't change how the document will be structured/displayed (https://en.wikipedia.org/wiki/Abstract_syntax_tree)

What you are describing is a Concrete Syntax Tree (https://en.wikipedia.org/wiki/Parse_tree), which could be built on top of micromark (syntax-tree/mdast#36 (comment)), but would have a complet…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@ole
Comment options

Answer selected by ole
Comment options

You must be logged in to vote
2 replies
@ole
Comment options

@wooorm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants