Extending AstroJS Markdown Processing With Remark and Rehype Plugins

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • remark

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

    Both Remark and Rehype are frameworks to transform documents by first transforming them to abstract syntax trees (AST) and then applying pluggable functions to the AST before converting it to the target format.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • mermaid

    Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

    Lets, assume we want to add rendered Mermaid diagrams to our page by transforming the source code in fenced code blocks like the following:

  • rehype

    HTML processor powered by plugins part of the @unifiedjs collective

    Both Remark and Rehype are frameworks to transform documents by first transforming them to abstract syntax trees (AST) and then applying pluggable functions to the AST before converting it to the target format.

  • remark-rehype

    plugin that turns markdown into HTML to support rehype

    💡 Remark and Rehype may be combined if we export HTML after transformation with Remark, for example by using the remark-rehype plugin. AstroJS automatically does this for use, so we do not need to worry about the transformation and may directly write plugins for Remark and Rehype.

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

  • MDSveX: The bridge between Markdown and Svelte

    8 projects | dev.to | 4 Mar 2022
  • Developing GROWI Plug-ins (Remark Plug-ins)

    2 projects | dev.to | 19 Jul 2024
  • How We Started Managing BSA Delivery Processes on GitHub

    6 projects | dev.to | 26 Nov 2023
  • I built an Markdown editor using Next.js and TailwindCss 🔥

    5 projects | dev.to | 14 Nov 2023
  • how to retain position of markdown element in remark.js

    3 projects | dev.to | 4 Sep 2023

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