illustration for unified - the compiler for your content
pro

unified - the compiler for your content

Instructor

John Otander

10m closed-captioning
·
6 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
5.0
12
people completed
Published 6 years ago
|
Updated 6 years ago

unified enables new exciting projects like Gatsby to pull in Markdown, MDX to embed JSX, and Prettier to format it. It’s used in about 300k projects on GitHub and has about 10m downloads each month on npm.

unified uses abstract syntax trees, or ASTs, that plugins can operate on. It can even process between different formats. This means you can parse a markdown document, transform it to HTML, and then transpile back to markdown.

unified leverages a syntax tree specification (called unist or UST) so that utilities can be shared amongst different formats. In practice, you can use unist-util-visit to visit nodes using the same library with the same API on any supported AST.

Learner Reviews

  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    I think the order of some lessons is not correct. for example, lesson 3 should be before lesson 2 (convert markdown to html first, then add TOC to the HTML)

    also the last two lessons are way fast!, I need it to see it at 0.85x! XD

    Horacio Herrera
    5 years ago