Skip to content

Releases: comarkdown/comark

comark v0.6.2

Choose a tag to compare

@farnabaz farnabaz released this 07 Aug 13:16
6678672

0.6.2 (2026-08-07)

Features

@comark/vue v0.6.2

Choose a tag to compare

@farnabaz farnabaz released this 07 Aug 13:16
f0ff30f

0.6.2 (2026-08-07)

@comark/svelte v0.6.2

Choose a tag to compare

@farnabaz farnabaz released this 07 Aug 13:15
427d4c3

0.6.2 (2026-08-07)

@comark/react v0.6.2

Choose a tag to compare

@farnabaz farnabaz released this 07 Aug 13:15
3a7a72d

0.6.2 (2026-08-07)

@comark/nuxt v0.6.2

Choose a tag to compare

@farnabaz farnabaz released this 07 Aug 13:15
daf377e

0.6.2 (2026-08-07)

@comark/html v0.6.2

Choose a tag to compare

@farnabaz farnabaz released this 07 Aug 13:15
f2521c1

0.6.2 (2026-08-07)

@comark/ansi v0.6.2

Choose a tag to compare

@farnabaz farnabaz released this 07 Aug 13:16
295b52c

0.6.2 (2026-08-07)

@comark/angular v0.6.2

Choose a tag to compare

@farnabaz farnabaz released this 07 Aug 13:16
53dc934

0.6.2 (2026-08-07)

comark v0.6.1

Choose a tag to compare

@farnabaz farnabaz released this 06 Aug 14:46
a6d1289

Highlights

It's all about performance:

  • Rangi highlighter — a new lightweight syntax-highlighting plugin via comark/plugins/rangi (optional peer dependency: rangi)
  • Default plugin controlregisterDefaultPlugins lets you enable or disable built-in plugins (frontmatter, html, alert, task-list, components, attributes)
  • Parse timing — the perf option records timing spans for autoclose, tokenization, node creation, and each plugin's pre/post hook

Deprecations

In this version, the highlight plugin is deprecated in favor of the shiki plugin. We also deprecate the html parser option in favor of the html plugin.

Deprecated Prefer Notes
comark/plugins/highlight comark/plugins/shiki Alias only; removed in the next major release
Framework */plugins/highlight (e.g. @comark/svelte/plugins/highlight) */plugins/shiki Same alias behavior
HighlightOptions type ShikiOptions Kept as an alias
ParserOptions.html registerDefaultPlugins: false + register html() when needed Warns at runtime; html: false still skips the default HTML plugin for now

Migration snippets

// before
import highlight from 'comark/plugins/highlight'

// after
import shiki from 'comark/plugins/shiki'

// before
parseMarkdown(md, { html: false })

// after
parseMarkdown(md, {
  registerDefaultPlugins: false,
  // + register the plugins you want
})

// or keep the default plugins and explicitly omit the HTML plugin

Features

View changes on GitHub

@comark/vue v0.6.1

Choose a tag to compare

@farnabaz farnabaz released this 06 Aug 14:42
31c593f