unified

Content as structured data

We compile content to syntax trees and syntax trees to content.
We also provide hundreds of packages to work on the trees in between.
You can build on the unified collective to make all kinds of interesting things.

Learn

We provide the interface: for parsing, inspecting, transforming, and serializing content. You work on structured data. Learn how to plug building blocks together, write your own, and make things with unified.

  1. Intro to unified

    Guide that summarizes the what and why of unified

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

    Guide that delves into transforming markdown to HTML

    1. guide
    2. rehype
    3. remark
    4. transform
    5. use
  3. 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
  4. 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
  5. 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
  6. See 15 other articles

Sponsor

To support our efforts financially, sponsor us on GitHub, thanks.dev, or OpenCollective. This lets us spend more time maintaining our projects and developing new ones.

  1. Vercel

    Develop. Preview. Ship. – Creators of nextjs.org

  2. GatsbyJS

  3. Motif

    When content meets code, magic happens ✨

  4. HashiCorp

  5. GitBook

  6. See 83 other sponsors

Explore

The ever growing ecosystem that the unified collective provides today consists of 356 open source projects, with a combined 63k stars on GitHub. In comparison, the code that the collective maintains is about 102 Moby Dicks or 40 Linuxes. In the last 30 days, the 533 packages maintained in those projects were downloaded 2b times from npm. Much of this is maintained by our teams, yet others are provided by the community.

  1. remark-squeeze-paragraphs

    remark plugin to remove empty paragraphs
    1. 79%
    2. 6.2m
    3. 401 B
  2. unist-builder

    unist utility to create a new trees with a nice syntax
    1. 82%
    2. 12m
    3. 247 B
  3. micromark-factory-whitespace

    micromark factory to parse markdown whitespace (found in lots of places)
    1. 79%
    2. 26m
    3. 475 B
  4. remark-parse

    remark plugin to add support for parsing markdown input
    1. 88%
    2. 38m
    3. 26.5 kB
  5. remark-rehype

    remark plugin that turns markdown into HTML to support rehype
    1. 78%
    2. 18m
    3. 4.81 kB
  6. See 533 packages and 356 projects

Build

We provide the building blocks: from tiny, focussed, modular utilities to plugins that combine them to perform bigger tasks. And much, much more. You can build on unified, mixing and matching building blocks together, to make all kinds of interesting new things.

  1. Prettier

    Uses unified to format markdown

  2. Gatsby

    Uses unified to pull content into GraphQL

  3. Write Music

    Uses unified to visualize sentence length

  4. Node.js

    Uses unified to check and build their docs

  5. alex

    Uses unified to catch insensitive, inconsiderate writing

  6. See 21 other cases

Work

Maintaining the collective, developing new projects, keeping everything fast and secure, and helping users, is a lot of work. In total, we’ve closed 5k issues/PRs while 128 are currently open (2%). In the last 30 days, we’ve cut 14 new releases.

  1. remark-embedder/transformer-oembed@5.0.1·

    5.0.1 (2024-10-09)

    Bug Fixes
    • deps: remove make-fetch-happen for real (c20def3)
  2. remarkjs/remark-embed-images@5.0.0·

    Change

    • 142c6e8 Update mime, change to require Node 18

    Miscellaneous

    Full Changelog: https://github.com/remarkjs/remark-embed-images/compare/4.0.0...5.0.0

  3. rehypejs/rehype-minify@7.0.1·

    (note: this is a patch release to all packages)

    Miscellaneous

    • 79383ba Add license files to packages

    Types

    Full Changelog: https://github.com/rehypejs/rehype-minify/compare/7.0.0...7.0.1

  4. Explore recent releases