←
Comark254 posts
Comark avatar

Comark

@comarkdown

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

◷ Joined August 2021▧ 91 Photos and videos
Comark avatar
Comark@comarkdown·Nov 6

:: 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

Post attachment
Comark avatar
Comark@comarkdown·Oct 21

:: 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.

Post attachment
Farnabaz avatar
⟳ Comark retweeted
Farnabaz@a_birang·Oct 18

Use Pele with Comark. Write ```mermaid or ```pele, get themeable SVG in Vue, React, Svelte, Angular or plain HTML. github.com/farnabaz/comark-p…

Post attachment
kepano@kepanoOct 17

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!

Post attachmentPost attachment
0:29
Sébastien Chopin avatar
⟳ Comark retweeted
Sébastien Chopin@Atinux·Oct 12

Annote in Markdown ✔️

Post attachment
Maxi@_onmaxOct 12

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

Post attachmentPost attachment
Afonso avatar
⟳ Comark retweeted
Afonso@xmrafonso·Oct 11

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-…

Baptiste Leproux avatar
⟳ Comark retweeted
Baptiste Leproux@_larbish·Sep 17

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 👇

0:38
Baptiste Leproux avatar
⟳ Comark retweeted
Baptiste Leproux@_larbish·Sep 16

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

Sébastien Chopin avatar
⟳ Comark retweeted
Sébastien Chopin@Atinux·Sep 13

Shipped comark-knap so you can now render your Markdown to HTML / Vue / React / Svelte / ...

Post attachment
kepano@kepanoSep 10

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!

0:27
Sébastien Chopin avatar
⟳ Comark retweeted
Sébastien Chopin@Atinux·Sep 11

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

0:22
Comark avatar
Comark@comarkdown·Sep 10

:: 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.

Post attachment
Comark avatar
Comark@comarkdown·Sep 10

We kept treating markdown like static text. Now you can use it as a template engine.

Maxi@_onmaxSep 10

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…

Post attachment