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.

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 23 other cases

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 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. 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
  4. 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
  5. 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
  6. See 10 other articles

Explore

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

  1. retext-english

    retext plugin to parse English prose
    1. 74%
    2. 721k
    3. 11.7 kB
  2. rehype-autolink-headings

    rehype plugin to add links to headings
    1. 72%
    2. 452k
    3. 1.85 kB
  3. remark-lint-hard-break-spaces

    remark-lint rule to warn when too many spaces are used to create a hard break
    1. 73%
    2. 375k
    3. 1.52 kB
  4. remark-lint-ordered-list-marker-style

    remark-lint rule to warn when the markers of ordered lists violate a given style
    1. 73%
    2. 400k
    3. 1.64 kB
  5. retext-stringify

    retext plugin to serialize prose
    1. 73%
    2. 207k
    3. 344 B
  6. See 382 packages and 244 projects

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 181 are currently open (4%). In the last 30 days, we’ve cut 23 new releases.

  1. form8ion/remark-remove-travis-ci-badge@2.0.2·

    2.0.2 (2022-06-30)

    Reverts
    • Revert "chore(deps): update dependency @form8ion/remark-lint-preset to v4" (f635da7)
    • Revert "fix(deps): update dependency mdast-util-definitions to v5" (c330d43)
    • Revert "chore(deps): update remark monorepo" (d975b0f)
    • Revert "fix(deps): update dependency unist-util-remove to v3" (ae1eebd)
  2. mdx-js/eslint-mdx@2.0.1·

    2.0.1 (2022-06-29)

    Bug Fixes
    • add missing unist-util-visit and vfile deps (#405) (6b4fea7)
  3. aloisklink/remark-mermaid-dataurl@2.0.0·

    Breaking Changes

    • NodeJS 14.1 is the minimum supported version
    • The minimum version of mermaid-cli has been bumped to ^9.1.2. This has caused the following BREAKING CHANGES:
      • mermaid is now version ^9.0.0
        • Full CHANGELOG
        • BREAKING CHANGE: gitGraph's have been reinvented
          • The main branch is now called main, not master.
          • Plus numerous other `gitgraph changes, please see mermaid release notes.
      • puppeteer is now version ^14.1.0
        • BREAKING CHANGE: NodeJS 14 is the minimum supported version now.

    Dependencies

    • Updated mermaid-cli version to ^9.1.2
  4. Explore recent releases

Sponsor

Thankfully, we are backed financially by our sponsors. This allows us to spend more time maintaining our projects and developing new ones. To support our efforts financially, sponsor or back us on OpenCollective.

  1. Vercel

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

  2. GatsbyJS

  3. Motif

    When content meets code, magic happens ✨

  4. Netlify

    Netlify is everything you need to build fast, modern websites: continuous deployment, serverless functions, and so much more.

  5. HashiCorp

  6. See 37 other sponsors