unified.js
is a Javascript’s plugin-based parsing framework that enables processing a various types of text (Markdown, HTML, etc.) using AST.
It provides a flexible way using plugins, to connect each steps for handling texts.
- Parsing
- Transformation
- Conversion (From/To Text)
Note
I came across a talk about Quartz 4 by its developer Jacky, hosted by Brandon Boswell. As a major difference between Quartz 4 and it’s predecessors,
unfied.js
was introduced.Recently I had a discussion with a teammate to discuss the way to parse and inspect the content of Confluence Wiki (It provides the HTML of a page via API) for a simple automation tool. Although we use python for our main scripting language, I think it’s worth trying Javascript and this framework (I didn’t even try tutorial yet, though 😅)