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

Joined August 2021
:: 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.
1
3
2
18
2,486
Comark retweeted
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!
3
8
99
5,544
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
2
4
27
2,224
Comark retweeted
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-…
1
2
7
289
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 👇
1
2
13
851
2
1
5
518
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
1
4
1
26
4,505
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!
6
3
2
131
48,201
Markdown as a templating engine ✔️ Coming soon in the binding plugin for @comarkdown
8
7
1
89
3,924
:: 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.
1
2
2
19
3,752
We kept treating markdown like static text. Now you can use it as a template engine.
Replying to @_onmax
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…
1
1
9
703
Vibe-coded a demo using @comarkdown components syntax ✨ comark-graphs-demo.vercel.ap…
introducing markdown graphs - tables, charts, and diagrams for MDX that look like they were typed - tastefully crafted design and animations - 20 components, ready to use - free and open-source - built using @shadcn registry mdx-graphs.kshv.me/docs
8
6
1
98
12,710
Next step, migrate to Comark ✨
🤖 docus.dev v5.13.0 - New agentic experience improvements. - The AI assistant is now provider-agnostic. Own the server route and bring your provider, your model, your options. Still zero config on Vercel with the AI Gateway ⚡
2
33
6,381