{"repo":"syntax-tree/mdast-util-to-markdown","free":true,"listed":false,"github":"https://github.com/syntax-tree/mdast-util-to-markdown","clone":"git clone https://github.com/syntax-tree/mdast-util-to-markdown.git","description":"mdast utility to serialize markdown","language":"JavaScript","stars":140,"topics":["unist","mdast","mdast-util","markdown","serialize","compile","stringify"],"license":"MIT","category":"productivity","readme_excerpt":"mdast-util-to-markdown [![Build][build-badge]][build] [![Coverage][coverage-badge]][coverage] [![Downloads][downloads-badge]][downloads] [![Size][size-badge]][size] [![Sponsors][sponsors-badge]][collective] [![Backers][backers-badge]][collective] [![Chat][chat-badge]][chat] [mdast][github-mdast] utility that turns a syntax tree into markdown. Contents What is this? When should I use this? Install Use API [ toMarkdown(tree[, options]) ](#tomarkdowntree-options) defaultHandlers ConstructName ConstructNameMap Handle Handlers Info Join Map Options SafeConfig State Tracker Unsafe List of extensions Syntax Syntax tree Types Compatibility Security Related Contribute License What is this? This package is a utility that takes an [mdast][github-mdast] syntax tree as input and turns it into serialized markdown. This utility is a low level project. It’s used in [ remark-stringify ][github-remark-stringify], which focusses on making it easier to transform content by abstracting these internals away. When should I use this? If you want to handle syntax trees manually, use this. For an easier time processing content, use the [remark][github-remark] ecosystem instead. You can combine this utility with other utilities to add syntax extensions. Notable examples that deeply integrate with it are [ mdast-util-gfm ][github-mdast-util-gfm], [ mdast-util-mdx ][github-mdast-util-mdx], [ mdast-util-frontmatter ][github-mdast-util-frontmatter], [ mdast-util-math ][github-mdast-util-math], and [ mdast-","default_branch":null,"files":null,"tree":[],"storefront":"/r/syntax-tree","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/syntax-tree/mdast-util-to-markdown/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}