remark-parse-frontmatter
remark-directive
remark-parse-frontmatter | remark-directive | |
---|---|---|
1 | 4 | |
9 | 222 | |
- | 5.4% | |
0.0 | 6.4 | |
about 1 year ago | 6 months ago | |
TypeScript | 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-parse-frontmatter
-
Parse Markdown Frontmatter In MDX, Remark, and Unified
Today I created a small Unified/Remark plugin called remark-parse-frontmatter to help easily parse frontmatter in a Markdown or MDX document using either mdxjs or remarkjs or unifiedjs.
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.
What are some alternatives?
vite-plugin-markdown - A vite plugin to import a Markdown file in various formats like Front Matter, HTML, ToC, and React/Vue Component
rehype - HTML processor powered by plugins part of the @unifiedjs collective
vscode-data-preview - Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
remark - markdown processor powered by plugins part of the @unifiedjs collective
revalidator - A cross-browser / node.js validator powered by JSON Schema
MDsveX - A markdown preprocessor for Svelte.
retext-case-police - A `retext` plugin for checking popular names casing. Example: ⚠️ `github` → ✅ `GitHub`
mdx - Markdown for the component era
twoslash - You take some Shiki, add a hint of TypeScript compiler, and 🎉 incredible static code samples
markdown-it-container - Fenced container plugin for markdown-it markdown parser
remark-lint-frontmatter-schema - Validate your Markdown frontmatter data against a JSON schema — remark-lint rule plugin
rehype-toc - A rehype plugin that adds a table of contents (TOC) to the page