


A high-performance Markdown parser and renderer for Angular, React, Svelte, Vue, HTML and ANSI.


:: Comark 0.9 is out! • Change any node at render time, in every renderer • A smaller parser with no default plugins • New heading-links plugin 15+ fixes across parsing, Markdown round-trips, and renderers. comark.dev

Checkout full release notes github.com/comarkdown/comark…

:: Comark 0.8 is out! • HTML and Markdown mix properly • Conditional content with the `If` component and `#else` slot • Inline code highlighting • Faster, more accurate streaming auto-close 15+ fixes across parsing, security, and renderers.

Use Pele with Comark. Write ```mermaid or ```pele, get themeable SVG in Vue, React, Svelte, Angular or plain HTML. github.com/farnabaz/comark-p…
This is Pele, my new rendering library for diagrams and charts, compatible with the latest Mermaid syntax. - 100-500× faster than mermaid.js - 6× smaller bundle - No dependencies - Easy to theme - Responsive to device width In pursuit of making Obsidian insanely fast and cohesively designed, I always found the Mermaid library to be too big, too slow, and too hard to theme. Pele will be the new renderer in the next version of Obsidian, but you can start using it now. Pele [ˈpɛlɛ] is named after the goddess of volcanoes and fire. It's open source under the MIT license. Try the playground!

Annote in Markdown ✔️
I wanted agents to put annotated screenshots in PRs without anyone drawing on them comark-annotate is a @comarkdown plugin for that. Write the marks in Markdown, get hand-drawn boxes, arrows and before/after pairs as static HTML. comark-annotate.onmax.me

I was sad to see @Atinux discontinue ::for loops in @comarkdown in favor of knap. I personally dislike knap's syntax and didn't want to add extra overhead for a single feature. So... I present you comark-loops which adds it back :) github.com/xMrAfonso/comark-…

Did you know you can write Comark syntax and see it render live at comark.dev/play? You can also prompt to stream a full page and see how powerful the streaming system is: never breaks, never shows half-parsed markdown. Need mermaid diag? Just add the plugin 👇

seo plugin for comark npmjs.com/package/comark-seo @comarkdown

Comark ecosystem update: 18 packages. 5 are core packages. The community alredy built 13 🔥 New /ecosystem page is live: a home for every renderes, plugins, tools and integrations built around comark. Submit yours: comark.dev/ecosystem

Shipped comark-knap so you can now render your Markdown to HTML / Vue / React / Svelte / ...
This is Knap. It's a new language I created that turns data into Markdown. The syntax should feel familiar and comes with wonderfully pleasant features to modify and format plain text. Knap is open source. Over a million people already use Knap directly or indirectly because it started as the templating language I made for Obsidian Web Clipper. Now any tool can use it. You can add Knap to your app or use it via CLI. Create a batch of Markdown files from JSON or CSV, or pipe Defuddle directly into Knap to generate Markdown from HTML/URLs. The Knap site is color-coded to help beginners understand the relationship between variables (blue), filters (orange), and logic (green). I've tried to document it as comprehensively as I can. Try the Knap Playground so you can see how fun the syntax is to use! Knap is pronounced /knæp/ (with a hard k). It's named after knapping (with a silent k): the process of shaping stones to form arrowheads, scrapers, and other tools. Enjoy!

Markdown as a templating engine ✔️ Coming soon in the binding plugin for @comarkdown

Checkout the full release notes github.com/comarkdown/comark…

:: Comark 0.7 is out! • Richer auto-close for streaming markdown • Custom auto-close functions • printAnsi / createAnsiPrinter As well as 30+ fixes across parsing, security, and renderers.

Learn more about the binding plugin in Comark comark.dev/plugins/built-in/…

We kept treating markdown like static text. Now you can use it as a template engine.
The email is a Markdown template with variables and conditions. Comark renders it for the email driver. I'll share more about this soon. If you're interested: vitehub.dev/docs/server-prim…