Unified: A unified interface for manipulating structured content as an AST
unified
LearnWe 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.Intro to unifiedGuide that summarizes the what and why of unifiedguideintroductionwelcomeUse unifiedGuide that delves into transforming markdown to HTMLguiderehyperemarktransformuseTree traversalHow to do tree traversal (also known as walking or visiting a tree)recipetraversetreeunistvisitwalkFind a nodeHow to find a node in any unist syntax treerecipefindnodetraversetreewalkSupport tables in remarkHow to support GitHub-style tables in remark (or react-markdown)recipegfmgithubpluginremarktableSee 15 other articlesSponsorTo 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.VercelDevelop. Preview. Ship. – Creators of nextjs.orgGatsbyJSMotifWhen content meets code, magic happens ✨HashiCorpGitBookSee 85 other sponsorsExploreThe ever growing ecosystem that the unified collective provides today consists of 355 open source projects, with a combined 64k stars on GitHub. In comparison, the code that the collective maintains is about 103 Moby Dicks or 41 Linuxes. In the last 30 days, the 532 packages maintained in those projects were downloaded 2.1b times from npm. Much of this is maintained by our teams, yet others are provided by the community.hast-util-whitespacehast utility to check if a node is inter-element whitespace 77% 20m229 Bmdast-util-gfm-task-list-itemmdast extension to parse and serialize GFM task list items 75% 16mmicromark-util-classify-charactermicromark utility to classify whether a character is whitespace or punctuation 79% 27m329 Bmdast-util-gfmmdast extension to parse and serialize GFM (GitHub Flavored Markdown) 76% 16m7.27 kBmicromark-factory-whitespacemicromark factory to parse markdown whitespace (found in lots of places) 79% 27m479 BSee 532 packages and 355 projectsBuildWe 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.PrettierUses unified to format markdownGatsbyUses unified to pull content into GraphQLWrite MusicUses unified to visualize sentence lengthNode.jsUses unified to check and build their docsalexUses unified to catch insensitive, inconsiderate writingSee 21 other casesWorkMaintaining 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 121 are currently open (2%). In the last 30 days, we’ve cut 11 new releases.syntax-tree/mdast-util-to-markdown@2.1.2·4 days agoaloisklink/remark-mermaid-dataurl@3.0.1·6 days agoremarkjs/remark-validate-links@13.0.2·1 week agoFix4791865 Fix support for absolute paths on GitHubTypesac9a800 Refactor to use @importsFull Changelog: https://github.com/remarkjs/remark-validate-links/compare/13.0.1...13.0.2Explore recent releases