unified is an interface for parsing, inspecting, transforming, and serializing content through syntax trees. And it’s hundreds of building blocks for working on those trees.

This section of our website includes several articles ranging from recipes that complete small, specific tasks, to guides that walk through how to complete bigger tasks.


Learn unified through articles, each telling a story, that walks through how to complete a certain task

  1. Intro to unified

    Guide that summarises the what and why of unified

    1. guide
    2. welcome
    3. introduction
  2. Use unified

    Guide that delves into transforming Markdown to HTML

    1. guide
    2. use
    3. transform
    4. remark
    5. rehype
  3. Create a plugin

    Guide that shows how to create a (retext) plugin

    1. guide
    2. plugin
    3. retext
  4. Create an editor

    Guide that shows how to create a fancy app ✨

    1. guide
    2. editor
    3. dingus
  5. Intro to syntax trees

    Guide that shows the basics of syntax trees (ASTs)

    1. guide
  6. Using plugins

    Guide that shows how to use plugins and presets

    1. guide


Learn unified through byte-sized articles, that stand on their own, explaining how to complete a small, specific, focussed task

  1. Tree traversal

    How to do tree traversal (also known as walking or visiting a tree)

    1. recipe
    2. unist
    3. tree
    4. traverse
    5. walk
    6. visit
  2. Find a node

    How to find a node in any unist syntax tree

    1. recipe
    2. node
    3. tree
    4. traverse
    5. walk
    6. find
  3. Remove a node

    How to remove nodes in any unist tree

    1. recipe
    2. node
    3. tree
    4. remove
    5. delete
    6. traverse
    7. walk


The readmes of our projects and packages, available through the Explore section of our website (or on GitHub and npm), describe the APIs and more in detail.