Skip to content
@syntax-tree

syntax-tree

πŸŒ²πŸŒ²πŸŒ²πŸŒ³πŸŒ²πŸŒ³πŸŒ²πŸŒ²πŸŒ²πŸŒ³πŸŒ³πŸŒ²πŸŒ²πŸŒ³πŸŒ²πŸŒ²πŸŽ„πŸŒ²πŸŒ³πŸŒ²πŸŒ²πŸŒ³πŸ»πŸŒ³πŸŒ³πŸŒ³πŸŒ²πŸŒ²πŸŒ³πŸŒ²πŸŽ„πŸŒ²πŸŒ³πŸŒ²πŸŒ²πŸŒ³πŸŒ³πŸŒ³

syntax-tree

syntax-tree is an organization that contains 100+ projects that deal with syntax trees based on unist. These trees typically deal with content: markdown (mdast), HTML (hast), natural language (nlcst), XML (xast), but also JavaScript (esast).

  • to learn unist, see its readme
  • you can use syntax trees without having to deal with them, by using unified and its plugins

unified

syntax-tree is part of the unified collective, which brings together organisations that work with content as structured data.

Get involved

This community has a code of conduct. You must follow it when interacting with the community.

Pinned Loading

  1. unist unist Public

    Universal Syntax Tree used by @unifiedjs

    1k 30

  2. mdast mdast Public

    Markdown Abstract Syntax Tree format

    1.5k 49

  3. hast hast Public

    Hypertext Abstract Syntax Tree format

    914 29

  4. nlcst nlcst Public

    Natural Language Concrete Syntax Tree format

    233 11

  5. xast xast Public

    Extensible Abstract Syntax Tree

    94 3

  6. esast esast Public

    ECMAScript Abstract Syntax Tree format

    59 2

Repositories

Showing 10 of 140 repositories
  • hast-util-to-mdast Public

    utility to transform hast (HTML) to mdast (markdown)

    syntax-tree/hast-util-to-mdast's past year of commit activity
    JavaScript 44 MIT 17 0 0 Updated Nov 13, 2026
  • mdast-util-to-hast Public

    utility to transform mdast to hast

    syntax-tree/mdast-util-to-hast's past year of commit activity
    JavaScript 124 MIT 49 0 0 Updated Nov 13, 2026
  • mdast-util-toc Public

    utility to generate a table of contents from an mdast tree

    syntax-tree/mdast-util-toc's past year of commit activity
    JavaScript 88 MIT 14 0 0 Updated Nov 13, 2026
  • mdast-util-to-markdown Public

    mdast utility to serialize markdown

    syntax-tree/mdast-util-to-markdown's past year of commit activity
    JavaScript 145 MIT 37 0 0 Updated Nov 6, 2026
  • hast-util-from-html Public

    hast utility to parse from HTML

    syntax-tree/hast-util-from-html's past year of commit activity
    JavaScript 42 MIT 2 0 0 Updated Nov 6, 2026
  • hast-util-raw Public

    utility to reparse a hast tree

    syntax-tree/hast-util-raw's past year of commit activity
    JavaScript 13 MIT 6 0 0 Updated Nov 6, 2026
  • hastscript Public

    utility to create hast trees

    syntax-tree/hastscript's past year of commit activity
    JavaScript 200 MIT 14 0 0 Updated Nov 6, 2026
  • mdast-util-gfm-task-list-item Public

    mdast extension to parse and serialize GFM task list items

    syntax-tree/mdast-util-gfm-task-list-item's past year of commit activity
    JavaScript 6 MIT 5 0 0 Updated Nov 6, 2026
  • mdast-util-gfm-autolink-literal Public

    mdast extension to parse and serialize GFM autolink literals

    syntax-tree/mdast-util-gfm-autolink-literal's past year of commit activity
    JavaScript 16 MIT 22 0 1 Updated Nov 6, 2026
  • mdast-util-gfm-table Public

    mdast extension to parse and serialize GFM tables

    syntax-tree/mdast-util-gfm-table's past year of commit activity
    JavaScript 15 MIT 13 0 0 Updated Nov 3, 2026