remark-directive
remark-react
Our great sponsors
remark-directive | remark-react | |
---|---|---|
4 | 1 | |
222 | 524 | |
11.7% | 0.0% | |
6.4 | 0.0 | |
6 months ago | over 2 years ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
remark-directive
-
How to support admonition (or callout) in Markdown
Fortunately, we don't have to write any code as there is remark-directive that does exactly what we need.
-
What are the weirdest CMS you've seen used to host content?
The projects this solutions works with are customised Sveltekit projects I made. It has everything: markdown parser using Mdsvex, image converting tool using vite-imagetools, it has toml parser, and of course live preview and lots of other smaller things like markdown directives.
-
MDSveX: The bridge between Markdown and Svelte
The coolest thing is that MDSveX hooks into remark and rehype, which provides a whole ecosystem of plugins to choose from.
-
Does anyone know of an editor that supports directives?
No, not formally, but there are plugins for the various process that implement it based on the spec I linked to, like markdown-it and remark.
remark-react
-
Construindo um Painel de Blog Dinâmico com Next.js
github.com/remarkjs/remark-react/tree/4722bdf - Plugin para transformar Markdown em React.
What are some alternatives?
rehype - HTML processor powered by plugins part of the @unifiedjs collective
remark-html - plugin to add support for serializing HTML
remark - markdown processor powered by plugins part of the @unifiedjs collective
remark-lint - plugins to check (lint) markdown code style
MDsveX - A markdown preprocessor for Svelte.
remark-rehype - plugin that turns markdown into HTML to support rehype
mdx - Markdown for the component era
remark-mdx-images - A remark plugin for changing image sources to JavaScript imports using MDX
markdown-it-container - Fenced container plugin for markdown-it markdown parser
remark-mdx-code-meta - A remark MDX plugin for using markdown code block metadata
rehype-toc - A rehype plugin that adds a table of contents (TOC) to the page
remark-extended-table - remark plugin to support table syntax allowing colspan / rowspan