1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Create a remark Plugin to Modify Markdown Headings

    javascriptJavaScript

    remark is a pluggable markdown parser and compiler. It's part of the unified so it offers a wide array of libraries to make writing plugins with the markdown AST (MDAST) more developer friendly.

    We'll use unist-util-visit to traverse heading nodes in a Markdown file and prefix all h1s with the text "BREAKING" using a TDD workflow.