fix: handle node and children recursively (#396)
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.
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.
Intro to unified
Guide that summarises the what and why of unified
Guide that delves into transforming Markdown to HTML
How to do tree traversal (also known as walking or visiting a tree)
Find a node
How to find a node in any unist syntax tree
Support tables in remark
How to support GitHub-style tables in remark (or react-markdown)
See 10 other articles
The ever growing ecosystem that the unified collective provides today consists of 351 open source projects, with a combined 44k stars on GitHub. In comparison, the code that the collective maintains is about 182 Moby Dicks or 72 Linuxes. In the last 30 days, the 527 packages maintained in those projects were downloaded 928m times from npm. Much of this is maintained by our teams, yet others are provided by the community.
hast-to-hyperscripthast utility to transform to something else (react, vue, etc) through a hyperscript DSL
- 7.93 kB
@mdx-js/registerNode hook to require MDX
- 749 B
micromark-util-combine-extensionsmicromark utility to combine syntax or html extensions
- 502 B
@mdx-js/preactPreact context for MDX
- 384 B
remark-stringifyremark plugin to add support for serializing markdown
- 17.6 kB
See 527 packages and 351 projects
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 173 are currently open (4%). In the last 30 days, we’ve cut 14 new releases.
Explore recent releases
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.