unified

Learn/Recipes

Recipes

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. traverse
    3. tree
    4. unist
    5. visit
    6. walk
  2. Find a node

    How to find a node in any unist syntax tree

    1. recipe
    2. find
    3. node
    4. traverse
    5. tree
    6. walk
  3. Support tables in remark

    How to support GitHub-style tables in remark (or react-markdown)

    1. recipe
    2. gfm
    3. github
    4. plugin
    5. remark
    6. table
  4. HTML and remark

    How to use remark to turn markdown into HTML, and to allow embedded HTML inside markdown

    1. recipe
    2. html
    3. markdown
    4. parse
    5. plugin
    6. remark
  5. Remove a node

    How to remove nodes in any unist tree

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

    How to build content with syntax trees

    1. recipe
    2. esast
    3. hast
    4. mdast
    5. nlcst
    6. unist
    7. xast
  7. Tree traversal with TypeScript

    How to do tree traversal in TypeScript

    1. recipe
    2. traverse
    3. tree
    4. typescript
    5. unist
  8. Narrow nodes in TypeScript

    How to narrow generic `Node` to specific syntax types

    1. recipe
    2. node
    3. typescript
    4. unist