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. 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. Support tables in remark

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

    1. recipe
    2. remark
    3. plugin
    4. gfm
    5. github
    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. remark
    3. html
    4. plugin
    5. markdown
    6. html
    7. parse
  5. 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
  6. Build a syntax tree

    How to build content with syntax trees

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

    How to do tree traversal in TypeScript

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

    How to narrow generic `Node` to specific syntax types

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