Converting and customizing Markdown files to HTML with Unified, remark & rehype

This page summarizes the projects mentioned and recommended in the original post on dev.to

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
  1. unified

    ☔️ interface for parsing, inspecting, transforming, and serializing content through syntax trees

    Unified is a framework to process Markdown. It's a plugin-based tool that allows you to inspect and modify the way Markdown is converted to other formats like HTML.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. PrismJS

    Lightweight, robust, elegant syntax highlighting.

    PrismJS and Highlight.js are two JavaScript libraries to highlight code keywords for multiple programming languages.

  4. Jekyll

    :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby

    Many tools exist to build blogs from Markdown. Jekyll is a popular choice to build static websites out of Markdown.

  5. remark

    markdown processor powered by plugins part of the @unifiedjs collective (by remarkjs)

    remark: "remark is a tool that transforms markdown with plugins. These plugins can inspect and change your markup. You can use remark on the server, the client, CLIs, deno, etc."

  6. Highlight.js

    JavaScript syntax highlighter with language auto-detection and zero dependencies.

    PrismJS and Highlight.js are two JavaScript libraries to highlight code keywords for multiple programming languages.

  7. rehype

    HTML processor powered by plugins part of the @unifiedjs collective

    rehype: "rehype is a tool that transforms HTML with plugins. These plugins can inspect and change the HTML. You can use rehype on the server, the client, CLIs, deno, etc."

  8. remark-rehype

    plugin that turns markdown into HTML to support rehype

    remark-rehype: remark plugin that turns markdown into HTML to support rehype.

  9. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  10. rehype-document

    plugin to wrap a fragment in a document

    rehype-document: rehype plugin to wrap a fragment in a document.

  11. rehype-format

    plugin to format HTML

    rehype-format: rehype plugin to format (pretty-print) an HTML document.

  12. unist

    Universal Syntax Tree used by @unifiedjs

    remark parses and process the Markdown text, and converts it into an abstract syntax tree (AST). This tree is composed of unist nodes, which follow the Markdown Abstract Syntax Tree (mdast) structure.

  13. mdast

    Markdown Abstract Syntax Tree format

    remark parses and process the Markdown text, and converts it into an abstract syntax tree (AST). This tree is composed of unist nodes, which follow the Markdown Abstract Syntax Tree (mdast) structure.

  14. hast

    Hypertext Abstract Syntax Tree format

    remark-rehype translates the mdast structure into a Hypertext Abstract Syntax Tree (hast) structure, also composed of unist nodes.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Building ask-PDF service using LLMs

    1 project | dev.to | 17 Nov 2024
  • Remark plug-in, wrapping a span around a string

    1 project | /r/nextjs | 15 Jun 2023
  • Mdast: Markdown Abstract Syntax Tree

    1 project | news.ycombinator.com | 28 Apr 2022
  • Modifying rehype autolink headings

    1 project | dev.to | 6 Mar 2022
  • Is html compiled?

    2 projects | /r/html5 | 8 Mar 2021

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?