From bea6beb5e4ffadf082acf40969710733f7498164 Mon Sep 17 00:00:00 2001 From: Farnabaz Date: Fri, 24 Apr 2026 12:22:26 +0200 Subject: [PATCH 01/69] chore(html): release v0.3.1 --- packages/comark-html/CHANGELOG.md | 32 +++++++++++++++++++++++++++++++ packages/comark-html/package.json | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/packages/comark-html/CHANGELOG.md b/packages/comark-html/CHANGELOG.md index 6424a9ab..c24f363c 100644 --- a/packages/comark-html/CHANGELOG.md +++ b/packages/comark-html/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## [0.3.1](https://github.com/comarkdown/comark/compare/@comark/html@0.2.1...@comark/html@0.3.1) (2026-04-24) + +### Features + +* **comark:** add breaks plugin ([#149](https://github.com/comarkdown/comark/issues/149)) ([90dca0d](https://github.com/comarkdown/comark/commit/90dca0dbc7749c1a54e80c14749023a1c3796375)) +* **comark:** add footnotes plugin with parsing and rendering support ([#104](https://github.com/comarkdown/comark/issues/104)) ([3d74274](https://github.com/comarkdown/comark/commit/3d74274722e35f87180071285d16c8b519e26b40)) +* **comark:** add punctuation plugin ([#123](https://github.com/comarkdown/comark/issues/123)) ([9b76e11](https://github.com/comarkdown/comark/commit/9b76e11e801e77e8403f71fbf642dccd8867e362)) +* data binding in components ([#143](https://github.com/comarkdown/comark/issues/143)) ([feedcd7](https://github.com/comarkdown/comark/commit/feedcd71b14ec0909c3d7117d7ba3debb4cdf8ff)) +* **docs:** enhance Playground with plugin management and parse options ([#107](https://github.com/comarkdown/comark/issues/107)) ([1dcb21b](https://github.com/comarkdown/comark/commit/1dcb21b47db747e8607e620236d95d53b148db30)) +* new/default block attributes syntax ([#125](https://github.com/comarkdown/comark/issues/125)) ([5222cf9](https://github.com/comarkdown/comark/commit/5222cf95a5eb2ef7e61f3b7343fccfc4ed4245aa)) +* **punctuation:** enhance punctuation plugin with normalization and locale-aware quotes ([#144](https://github.com/comarkdown/comark/issues/144)) ([62d996f](https://github.com/comarkdown/comark/commit/62d996f53f167e8f9e077a6d9db599fd4834c44e)) +* **render:** conditional handlers to match nodes based on attributes or children or ... ([#130](https://github.com/comarkdown/comark/issues/130)) ([25e45cc](https://github.com/comarkdown/comark/commit/25e45ccca6ba21b37ea09119010ff3e4288f8e77)) +* **rendering:** expose `dump` options for frontmatter serialization ([#101](https://github.com/comarkdown/comark/issues/101)) ([d294b0d](https://github.com/comarkdown/comark/commit/d294b0d732e04e129a93af4b3dccba16594492de)) +* **specs:** autolink support ([#112](https://github.com/comarkdown/comark/issues/112)) ([1f8442f](https://github.com/comarkdown/comark/commit/1f8442f2b08ce3d579813f224e02e6c343a02aca)) +* use parent heading id as prefix for child headings ([#126](https://github.com/comarkdown/comark/issues/126)) ([e83d889](https://github.com/comarkdown/comark/commit/e83d88992638a6ca7522b4156e30a7d34f9776a9)) + +### Bug Fixes + +* **auto-close:** ensure underscore syntax does not joined with a word ([#131](https://github.com/comarkdown/comark/issues/131)) ([dd3fc00](https://github.com/comarkdown/comark/commit/dd3fc004e7db8816548154711e7174377f513dfe)) +* **auto-close:** ignore contents inside attributes fence ([9eefd87](https://github.com/comarkdown/comark/commit/9eefd87f33f6dacd592745bc634938a8cd8aac50)) +* **auto-close:** skip full link content and url part ([7e378be](https://github.com/comarkdown/comark/commit/7e378be4020adbd1e803845b91c8de5b31578798)) +* **auto-close:** support ignore char in math syntax `\$` ([b1641ce](https://github.com/comarkdown/comark/commit/b1641ce818ad12d9fe1ea8ce5bcdcca14d0c82af)) +* **deps:** deduplicate vue runtime to single version ([#133](https://github.com/comarkdown/comark/issues/133)) ([669ea89](https://github.com/comarkdown/comark/commit/669ea895daa28f7860d0a1755af780cbd1ea2864)) +* **examples:** add tailwindcss to dependencies ([#109](https://github.com/comarkdown/comark/issues/109)) ([d17259b](https://github.com/comarkdown/comark/commit/d17259b3f527c431ae137d8e2cac6d8aa0811971)) +* force extension for relative imports ([#152](https://github.com/comarkdown/comark/issues/152)) ([515c4dd](https://github.com/comarkdown/comark/commit/515c4ddcdbbb77eb2dbfe4923eb502b3675ca954)) +* **img:** default alt to empty string to prevent 'undefined' in output ([#148](https://github.com/comarkdown/comark/issues/148)) ([5ba5507](https://github.com/comarkdown/comark/commit/5ba5507914e6dcabbc0e8c602613a45a392304c6)) +* **mermaid:** set default height to auto ([#119](https://github.com/comarkdown/comark/issues/119)) ([fb5b909](https://github.com/comarkdown/comark/commit/fb5b909c900b12f636fcbc6800217065c09856c7)) +* **parser:** return previous output on parse error while streaming ([#132](https://github.com/comarkdown/comark/issues/132)) ([7cf2c17](https://github.com/comarkdown/comark/commit/7cf2c17bd7c35955f87516e80657c37d7f3ea288)) +* **render:** correct list indentation and block content in list items ([#120](https://github.com/comarkdown/comark/issues/120)) ([aad5516](https://github.com/comarkdown/comark/commit/aad5516565dd7cdc6c7e782c48e0a13abe4d993a)) +* **specs:** preserve indentation of nested components in named slots ([#106](https://github.com/comarkdown/comark/issues/106)) ([9ebddfd](https://github.com/comarkdown/comark/commit/9ebddfd4dd29ac9259f689b7150953f1e61b7001)) +* **vue:** typo in slot unwrap prop name ([#127](https://github.com/comarkdown/comark/issues/127)) ([1517e95](https://github.com/comarkdown/comark/commit/1517e95bdcd5176fa36aec643d9ccef4b1a277f6)) + ## [0.2.1](https://github.com/comarkdown/comark/compare/@comark/html@0.2.0...@comark/html@0.2.1) (2026-04-09) ### Features diff --git a/packages/comark-html/package.json b/packages/comark-html/package.json index adfbdf70..bb2473b6 100644 --- a/packages/comark-html/package.json +++ b/packages/comark-html/package.json @@ -1,7 +1,7 @@ { "name": "@comark/html", "type": "module", - "version": "0.2.1", + "version": "0.3.1", "description": "HTML renderer for Comark", "repository": { "type": "git", From 60aef65a8b9dadc59f97bd78aeb853e9126f3ba8 Mon Sep 17 00:00:00 2001 From: Farnabaz Date: Fri, 24 Apr 2026 12:22:49 +0200 Subject: [PATCH 02/69] chore(react): release v0.3.1 --- packages/comark-react/CHANGELOG.md | 32 ++++++++++++++++++++++++++++++ packages/comark-react/package.json | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/packages/comark-react/CHANGELOG.md b/packages/comark-react/CHANGELOG.md index 0b4c7578..a5ddc85b 100644 --- a/packages/comark-react/CHANGELOG.md +++ b/packages/comark-react/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## [0.3.1](https://github.com/comarkdown/comark/compare/@comark/react@0.2.1...@comark/react@0.3.1) (2026-04-24) + +### Features + +* **comark:** add breaks plugin ([#149](https://github.com/comarkdown/comark/issues/149)) ([90dca0d](https://github.com/comarkdown/comark/commit/90dca0dbc7749c1a54e80c14749023a1c3796375)) +* **comark:** add footnotes plugin with parsing and rendering support ([#104](https://github.com/comarkdown/comark/issues/104)) ([3d74274](https://github.com/comarkdown/comark/commit/3d74274722e35f87180071285d16c8b519e26b40)) +* **comark:** add punctuation plugin ([#123](https://github.com/comarkdown/comark/issues/123)) ([9b76e11](https://github.com/comarkdown/comark/commit/9b76e11e801e77e8403f71fbf642dccd8867e362)) +* data binding in components ([#143](https://github.com/comarkdown/comark/issues/143)) ([feedcd7](https://github.com/comarkdown/comark/commit/feedcd71b14ec0909c3d7117d7ba3debb4cdf8ff)) +* **docs:** enhance Playground with plugin management and parse options ([#107](https://github.com/comarkdown/comark/issues/107)) ([1dcb21b](https://github.com/comarkdown/comark/commit/1dcb21b47db747e8607e620236d95d53b148db30)) +* new/default block attributes syntax ([#125](https://github.com/comarkdown/comark/issues/125)) ([5222cf9](https://github.com/comarkdown/comark/commit/5222cf95a5eb2ef7e61f3b7343fccfc4ed4245aa)) +* **punctuation:** enhance punctuation plugin with normalization and locale-aware quotes ([#144](https://github.com/comarkdown/comark/issues/144)) ([62d996f](https://github.com/comarkdown/comark/commit/62d996f53f167e8f9e077a6d9db599fd4834c44e)) +* **render:** conditional handlers to match nodes based on attributes or children or ... ([#130](https://github.com/comarkdown/comark/issues/130)) ([25e45cc](https://github.com/comarkdown/comark/commit/25e45ccca6ba21b37ea09119010ff3e4288f8e77)) +* **rendering:** expose `dump` options for frontmatter serialization ([#101](https://github.com/comarkdown/comark/issues/101)) ([d294b0d](https://github.com/comarkdown/comark/commit/d294b0d732e04e129a93af4b3dccba16594492de)) +* **specs:** autolink support ([#112](https://github.com/comarkdown/comark/issues/112)) ([1f8442f](https://github.com/comarkdown/comark/commit/1f8442f2b08ce3d579813f224e02e6c343a02aca)) +* use parent heading id as prefix for child headings ([#126](https://github.com/comarkdown/comark/issues/126)) ([e83d889](https://github.com/comarkdown/comark/commit/e83d88992638a6ca7522b4156e30a7d34f9776a9)) + +### Bug Fixes + +* **auto-close:** ensure underscore syntax does not joined with a word ([#131](https://github.com/comarkdown/comark/issues/131)) ([dd3fc00](https://github.com/comarkdown/comark/commit/dd3fc004e7db8816548154711e7174377f513dfe)) +* **auto-close:** ignore contents inside attributes fence ([9eefd87](https://github.com/comarkdown/comark/commit/9eefd87f33f6dacd592745bc634938a8cd8aac50)) +* **auto-close:** skip full link content and url part ([7e378be](https://github.com/comarkdown/comark/commit/7e378be4020adbd1e803845b91c8de5b31578798)) +* **auto-close:** support ignore char in math syntax `\$` ([b1641ce](https://github.com/comarkdown/comark/commit/b1641ce818ad12d9fe1ea8ce5bcdcca14d0c82af)) +* **deps:** deduplicate vue runtime to single version ([#133](https://github.com/comarkdown/comark/issues/133)) ([669ea89](https://github.com/comarkdown/comark/commit/669ea895daa28f7860d0a1755af780cbd1ea2864)) +* **examples:** add tailwindcss to dependencies ([#109](https://github.com/comarkdown/comark/issues/109)) ([d17259b](https://github.com/comarkdown/comark/commit/d17259b3f527c431ae137d8e2cac6d8aa0811971)) +* force extension for relative imports ([#152](https://github.com/comarkdown/comark/issues/152)) ([515c4dd](https://github.com/comarkdown/comark/commit/515c4ddcdbbb77eb2dbfe4923eb502b3675ca954)) +* **img:** default alt to empty string to prevent 'undefined' in output ([#148](https://github.com/comarkdown/comark/issues/148)) ([5ba5507](https://github.com/comarkdown/comark/commit/5ba5507914e6dcabbc0e8c602613a45a392304c6)) +* **mermaid:** set default height to auto ([#119](https://github.com/comarkdown/comark/issues/119)) ([fb5b909](https://github.com/comarkdown/comark/commit/fb5b909c900b12f636fcbc6800217065c09856c7)) +* **parser:** return previous output on parse error while streaming ([#132](https://github.com/comarkdown/comark/issues/132)) ([7cf2c17](https://github.com/comarkdown/comark/commit/7cf2c17bd7c35955f87516e80657c37d7f3ea288)) +* **render:** correct list indentation and block content in list items ([#120](https://github.com/comarkdown/comark/issues/120)) ([aad5516](https://github.com/comarkdown/comark/commit/aad5516565dd7cdc6c7e782c48e0a13abe4d993a)) +* **specs:** preserve indentation of nested components in named slots ([#106](https://github.com/comarkdown/comark/issues/106)) ([9ebddfd](https://github.com/comarkdown/comark/commit/9ebddfd4dd29ac9259f689b7150953f1e61b7001)) +* **vue:** typo in slot unwrap prop name ([#127](https://github.com/comarkdown/comark/issues/127)) ([1517e95](https://github.com/comarkdown/comark/commit/1517e95bdcd5176fa36aec643d9ccef4b1a277f6)) + ## [0.2.1](https://github.com/comarkdown/comark/compare/@comark/react@0.2.0...@comark/react@0.2.1) (2026-04-09) ### Features diff --git a/packages/comark-react/package.json b/packages/comark-react/package.json index ec131143..bdcc0ffe 100644 --- a/packages/comark-react/package.json +++ b/packages/comark-react/package.json @@ -1,7 +1,7 @@ { "name": "@comark/react", "type": "module", - "version": "0.2.1", + "version": "0.3.1", "description": "React components for Comark", "repository": { "type": "git", From 7a222224bd2b9b788b27d4285a7cec258e214767 Mon Sep 17 00:00:00 2001 From: Farnabaz Date: Fri, 24 Apr 2026 12:23:09 +0200 Subject: [PATCH 03/69] chore(svelte): release v0.3.1 --- packages/comark-svelte/CHANGELOG.md | 32 +++++++++++++++++++++++++++++ packages/comark-svelte/package.json | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/packages/comark-svelte/CHANGELOG.md b/packages/comark-svelte/CHANGELOG.md index 9ace975d..a05e208a 100644 --- a/packages/comark-svelte/CHANGELOG.md +++ b/packages/comark-svelte/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## [0.3.1](https://github.com/comarkdown/comark/compare/@comark/svelte@0.2.1...@comark/svelte@0.3.1) (2026-04-24) + +### Features + +* **comark:** add breaks plugin ([#149](https://github.com/comarkdown/comark/issues/149)) ([90dca0d](https://github.com/comarkdown/comark/commit/90dca0dbc7749c1a54e80c14749023a1c3796375)) +* **comark:** add footnotes plugin with parsing and rendering support ([#104](https://github.com/comarkdown/comark/issues/104)) ([3d74274](https://github.com/comarkdown/comark/commit/3d74274722e35f87180071285d16c8b519e26b40)) +* **comark:** add punctuation plugin ([#123](https://github.com/comarkdown/comark/issues/123)) ([9b76e11](https://github.com/comarkdown/comark/commit/9b76e11e801e77e8403f71fbf642dccd8867e362)) +* data binding in components ([#143](https://github.com/comarkdown/comark/issues/143)) ([feedcd7](https://github.com/comarkdown/comark/commit/feedcd71b14ec0909c3d7117d7ba3debb4cdf8ff)) +* **docs:** enhance Playground with plugin management and parse options ([#107](https://github.com/comarkdown/comark/issues/107)) ([1dcb21b](https://github.com/comarkdown/comark/commit/1dcb21b47db747e8607e620236d95d53b148db30)) +* new/default block attributes syntax ([#125](https://github.com/comarkdown/comark/issues/125)) ([5222cf9](https://github.com/comarkdown/comark/commit/5222cf95a5eb2ef7e61f3b7343fccfc4ed4245aa)) +* **punctuation:** enhance punctuation plugin with normalization and locale-aware quotes ([#144](https://github.com/comarkdown/comark/issues/144)) ([62d996f](https://github.com/comarkdown/comark/commit/62d996f53f167e8f9e077a6d9db599fd4834c44e)) +* **render:** conditional handlers to match nodes based on attributes or children or ... ([#130](https://github.com/comarkdown/comark/issues/130)) ([25e45cc](https://github.com/comarkdown/comark/commit/25e45ccca6ba21b37ea09119010ff3e4288f8e77)) +* **rendering:** expose `dump` options for frontmatter serialization ([#101](https://github.com/comarkdown/comark/issues/101)) ([d294b0d](https://github.com/comarkdown/comark/commit/d294b0d732e04e129a93af4b3dccba16594492de)) +* **specs:** autolink support ([#112](https://github.com/comarkdown/comark/issues/112)) ([1f8442f](https://github.com/comarkdown/comark/commit/1f8442f2b08ce3d579813f224e02e6c343a02aca)) +* use parent heading id as prefix for child headings ([#126](https://github.com/comarkdown/comark/issues/126)) ([e83d889](https://github.com/comarkdown/comark/commit/e83d88992638a6ca7522b4156e30a7d34f9776a9)) + +### Bug Fixes + +* **auto-close:** ensure underscore syntax does not joined with a word ([#131](https://github.com/comarkdown/comark/issues/131)) ([dd3fc00](https://github.com/comarkdown/comark/commit/dd3fc004e7db8816548154711e7174377f513dfe)) +* **auto-close:** ignore contents inside attributes fence ([9eefd87](https://github.com/comarkdown/comark/commit/9eefd87f33f6dacd592745bc634938a8cd8aac50)) +* **auto-close:** skip full link content and url part ([7e378be](https://github.com/comarkdown/comark/commit/7e378be4020adbd1e803845b91c8de5b31578798)) +* **auto-close:** support ignore char in math syntax `\$` ([b1641ce](https://github.com/comarkdown/comark/commit/b1641ce818ad12d9fe1ea8ce5bcdcca14d0c82af)) +* **deps:** deduplicate vue runtime to single version ([#133](https://github.com/comarkdown/comark/issues/133)) ([669ea89](https://github.com/comarkdown/comark/commit/669ea895daa28f7860d0a1755af780cbd1ea2864)) +* **examples:** add tailwindcss to dependencies ([#109](https://github.com/comarkdown/comark/issues/109)) ([d17259b](https://github.com/comarkdown/comark/commit/d17259b3f527c431ae137d8e2cac6d8aa0811971)) +* force extension for relative imports ([#152](https://github.com/comarkdown/comark/issues/152)) ([515c4dd](https://github.com/comarkdown/comark/commit/515c4ddcdbbb77eb2dbfe4923eb502b3675ca954)) +* **img:** default alt to empty string to prevent 'undefined' in output ([#148](https://github.com/comarkdown/comark/issues/148)) ([5ba5507](https://github.com/comarkdown/comark/commit/5ba5507914e6dcabbc0e8c602613a45a392304c6)) +* **mermaid:** set default height to auto ([#119](https://github.com/comarkdown/comark/issues/119)) ([fb5b909](https://github.com/comarkdown/comark/commit/fb5b909c900b12f636fcbc6800217065c09856c7)) +* **parser:** return previous output on parse error while streaming ([#132](https://github.com/comarkdown/comark/issues/132)) ([7cf2c17](https://github.com/comarkdown/comark/commit/7cf2c17bd7c35955f87516e80657c37d7f3ea288)) +* **render:** correct list indentation and block content in list items ([#120](https://github.com/comarkdown/comark/issues/120)) ([aad5516](https://github.com/comarkdown/comark/commit/aad5516565dd7cdc6c7e782c48e0a13abe4d993a)) +* **specs:** preserve indentation of nested components in named slots ([#106](https://github.com/comarkdown/comark/issues/106)) ([9ebddfd](https://github.com/comarkdown/comark/commit/9ebddfd4dd29ac9259f689b7150953f1e61b7001)) +* **vue:** typo in slot unwrap prop name ([#127](https://github.com/comarkdown/comark/issues/127)) ([1517e95](https://github.com/comarkdown/comark/commit/1517e95bdcd5176fa36aec643d9ccef4b1a277f6)) + ## [0.2.1](https://github.com/comarkdown/comark/compare/@comark/svelte@0.2.0...@comark/svelte@0.2.1) (2026-04-09) ### Features diff --git a/packages/comark-svelte/package.json b/packages/comark-svelte/package.json index 74434b99..9c18afab 100644 --- a/packages/comark-svelte/package.json +++ b/packages/comark-svelte/package.json @@ -1,6 +1,6 @@ { "name": "@comark/svelte", - "version": "0.2.1", + "version": "0.3.1", "description": "Svelte renderer for Comark (Components in Markdown)", "svelte": "./dist/index.js", "types": "./dist/index.d.ts", From 3559d64879ffd123e759483eb7130b7822ef36f6 Mon Sep 17 00:00:00 2001 From: Farnabaz Date: Fri, 24 Apr 2026 12:23:30 +0200 Subject: [PATCH 04/69] chore(nuxt): release v0.3.1 --- packages/comark-nuxt/CHANGELOG.md | 32 +++++++++++++++++++++++++++++++ packages/comark-nuxt/package.json | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/packages/comark-nuxt/CHANGELOG.md b/packages/comark-nuxt/CHANGELOG.md index ca23f6c8..629a15e5 100644 --- a/packages/comark-nuxt/CHANGELOG.md +++ b/packages/comark-nuxt/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## [0.3.1](https://github.com/comarkdown/comark/compare/@comark/nuxt@0.2.1...@comark/nuxt@0.3.1) (2026-04-24) + +### Features + +* **comark:** add breaks plugin ([#149](https://github.com/comarkdown/comark/issues/149)) ([90dca0d](https://github.com/comarkdown/comark/commit/90dca0dbc7749c1a54e80c14749023a1c3796375)) +* **comark:** add footnotes plugin with parsing and rendering support ([#104](https://github.com/comarkdown/comark/issues/104)) ([3d74274](https://github.com/comarkdown/comark/commit/3d74274722e35f87180071285d16c8b519e26b40)) +* **comark:** add punctuation plugin ([#123](https://github.com/comarkdown/comark/issues/123)) ([9b76e11](https://github.com/comarkdown/comark/commit/9b76e11e801e77e8403f71fbf642dccd8867e362)) +* data binding in components ([#143](https://github.com/comarkdown/comark/issues/143)) ([feedcd7](https://github.com/comarkdown/comark/commit/feedcd71b14ec0909c3d7117d7ba3debb4cdf8ff)) +* **docs:** enhance Playground with plugin management and parse options ([#107](https://github.com/comarkdown/comark/issues/107)) ([1dcb21b](https://github.com/comarkdown/comark/commit/1dcb21b47db747e8607e620236d95d53b148db30)) +* new/default block attributes syntax ([#125](https://github.com/comarkdown/comark/issues/125)) ([5222cf9](https://github.com/comarkdown/comark/commit/5222cf95a5eb2ef7e61f3b7343fccfc4ed4245aa)) +* **punctuation:** enhance punctuation plugin with normalization and locale-aware quotes ([#144](https://github.com/comarkdown/comark/issues/144)) ([62d996f](https://github.com/comarkdown/comark/commit/62d996f53f167e8f9e077a6d9db599fd4834c44e)) +* **render:** conditional handlers to match nodes based on attributes or children or ... ([#130](https://github.com/comarkdown/comark/issues/130)) ([25e45cc](https://github.com/comarkdown/comark/commit/25e45ccca6ba21b37ea09119010ff3e4288f8e77)) +* **rendering:** expose `dump` options for frontmatter serialization ([#101](https://github.com/comarkdown/comark/issues/101)) ([d294b0d](https://github.com/comarkdown/comark/commit/d294b0d732e04e129a93af4b3dccba16594492de)) +* **specs:** autolink support ([#112](https://github.com/comarkdown/comark/issues/112)) ([1f8442f](https://github.com/comarkdown/comark/commit/1f8442f2b08ce3d579813f224e02e6c343a02aca)) +* use parent heading id as prefix for child headings ([#126](https://github.com/comarkdown/comark/issues/126)) ([e83d889](https://github.com/comarkdown/comark/commit/e83d88992638a6ca7522b4156e30a7d34f9776a9)) + +### Bug Fixes + +* **auto-close:** ensure underscore syntax does not joined with a word ([#131](https://github.com/comarkdown/comark/issues/131)) ([dd3fc00](https://github.com/comarkdown/comark/commit/dd3fc004e7db8816548154711e7174377f513dfe)) +* **auto-close:** ignore contents inside attributes fence ([9eefd87](https://github.com/comarkdown/comark/commit/9eefd87f33f6dacd592745bc634938a8cd8aac50)) +* **auto-close:** skip full link content and url part ([7e378be](https://github.com/comarkdown/comark/commit/7e378be4020adbd1e803845b91c8de5b31578798)) +* **auto-close:** support ignore char in math syntax `\$` ([b1641ce](https://github.com/comarkdown/comark/commit/b1641ce818ad12d9fe1ea8ce5bcdcca14d0c82af)) +* **deps:** deduplicate vue runtime to single version ([#133](https://github.com/comarkdown/comark/issues/133)) ([669ea89](https://github.com/comarkdown/comark/commit/669ea895daa28f7860d0a1755af780cbd1ea2864)) +* **examples:** add tailwindcss to dependencies ([#109](https://github.com/comarkdown/comark/issues/109)) ([d17259b](https://github.com/comarkdown/comark/commit/d17259b3f527c431ae137d8e2cac6d8aa0811971)) +* force extension for relative imports ([#152](https://github.com/comarkdown/comark/issues/152)) ([515c4dd](https://github.com/comarkdown/comark/commit/515c4ddcdbbb77eb2dbfe4923eb502b3675ca954)) +* **img:** default alt to empty string to prevent 'undefined' in output ([#148](https://github.com/comarkdown/comark/issues/148)) ([5ba5507](https://github.com/comarkdown/comark/commit/5ba5507914e6dcabbc0e8c602613a45a392304c6)) +* **mermaid:** set default height to auto ([#119](https://github.com/comarkdown/comark/issues/119)) ([fb5b909](https://github.com/comarkdown/comark/commit/fb5b909c900b12f636fcbc6800217065c09856c7)) +* **parser:** return previous output on parse error while streaming ([#132](https://github.com/comarkdown/comark/issues/132)) ([7cf2c17](https://github.com/comarkdown/comark/commit/7cf2c17bd7c35955f87516e80657c37d7f3ea288)) +* **render:** correct list indentation and block content in list items ([#120](https://github.com/comarkdown/comark/issues/120)) ([aad5516](https://github.com/comarkdown/comark/commit/aad5516565dd7cdc6c7e782c48e0a13abe4d993a)) +* **specs:** preserve indentation of nested components in named slots ([#106](https://github.com/comarkdown/comark/issues/106)) ([9ebddfd](https://github.com/comarkdown/comark/commit/9ebddfd4dd29ac9259f689b7150953f1e61b7001)) +* **vue:** typo in slot unwrap prop name ([#127](https://github.com/comarkdown/comark/issues/127)) ([1517e95](https://github.com/comarkdown/comark/commit/1517e95bdcd5176fa36aec643d9ccef4b1a277f6)) + ## [0.2.1](https://github.com/comarkdown/comark/compare/@comark/nuxt@0.2.0...@comark/nuxt@0.2.1) (2026-04-09) ### Features diff --git a/packages/comark-nuxt/package.json b/packages/comark-nuxt/package.json index ef594269..18a4d598 100644 --- a/packages/comark-nuxt/package.json +++ b/packages/comark-nuxt/package.json @@ -1,7 +1,7 @@ { "name": "@comark/nuxt", "type": "module", - "version": "0.2.1", + "version": "0.3.1", "description": "Nuxt module for Comark", "repository": { "type": "git", From 47fd9f27893f28723327e326745d873c0d79ee0f Mon Sep 17 00:00:00 2001 From: Farnabaz Date: Fri, 24 Apr 2026 12:35:06 +0200 Subject: [PATCH 05/69] chore: update relese changelog generation --- packages/comark-ansi/.release-it.json | 5 ++++- packages/comark-html/.release-it.json | 5 ++++- packages/comark-nuxt/.release-it.json | 5 ++++- packages/comark-react/.release-it.json | 5 ++++- packages/comark-svelte/.release-it.json | 5 ++++- packages/comark-vue/.release-it.json | 5 ++++- packages/comark/.release-it.json | 7 +++++-- 7 files changed, 29 insertions(+), 8 deletions(-) diff --git a/packages/comark-ansi/.release-it.json b/packages/comark-ansi/.release-it.json index 459e854e..13a231aa 100644 --- a/packages/comark-ansi/.release-it.json +++ b/packages/comark-ansi/.release-it.json @@ -26,7 +26,10 @@ { "type": "perf", "section": "Performance" } ] }, - "infile": "CHANGELOG.md" + "infile": "CHANGELOG.md", + "gitRawCommitsOpts": { + "path": "." + } } }, "hooks": { diff --git a/packages/comark-html/.release-it.json b/packages/comark-html/.release-it.json index 9893d2b3..b0b3338d 100644 --- a/packages/comark-html/.release-it.json +++ b/packages/comark-html/.release-it.json @@ -26,7 +26,10 @@ { "type": "perf", "section": "Performance" } ] }, - "infile": "CHANGELOG.md" + "infile": "CHANGELOG.md", + "gitRawCommitsOpts": { + "path": "." + } } }, "hooks": { diff --git a/packages/comark-nuxt/.release-it.json b/packages/comark-nuxt/.release-it.json index f3aee779..fb67c06e 100644 --- a/packages/comark-nuxt/.release-it.json +++ b/packages/comark-nuxt/.release-it.json @@ -26,7 +26,10 @@ { "type": "perf", "section": "Performance" } ] }, - "infile": "CHANGELOG.md" + "infile": "CHANGELOG.md", + "gitRawCommitsOpts": { + "path": "." + } } }, "hooks": { diff --git a/packages/comark-react/.release-it.json b/packages/comark-react/.release-it.json index be6eb43c..725503b8 100644 --- a/packages/comark-react/.release-it.json +++ b/packages/comark-react/.release-it.json @@ -26,7 +26,10 @@ { "type": "perf", "section": "Performance" } ] }, - "infile": "CHANGELOG.md" + "infile": "CHANGELOG.md", + "gitRawCommitsOpts": { + "path": "." + } } }, "hooks": { diff --git a/packages/comark-svelte/.release-it.json b/packages/comark-svelte/.release-it.json index b60ecc7c..1e6cfa14 100644 --- a/packages/comark-svelte/.release-it.json +++ b/packages/comark-svelte/.release-it.json @@ -26,7 +26,10 @@ { "type": "perf", "section": "Performance" } ] }, - "infile": "CHANGELOG.md" + "infile": "CHANGELOG.md", + "gitRawCommitsOpts": { + "path": "." + } } }, "hooks": { diff --git a/packages/comark-vue/.release-it.json b/packages/comark-vue/.release-it.json index fe5d0f06..aa0ed103 100644 --- a/packages/comark-vue/.release-it.json +++ b/packages/comark-vue/.release-it.json @@ -26,7 +26,10 @@ { "type": "perf", "section": "Performance" } ] }, - "infile": "CHANGELOG.md" + "infile": "CHANGELOG.md", + "gitRawCommitsOpts": { + "path": "." + } } }, "hooks": { diff --git a/packages/comark/.release-it.json b/packages/comark/.release-it.json index 9ad1cda3..4bc2fd7d 100644 --- a/packages/comark/.release-it.json +++ b/packages/comark/.release-it.json @@ -26,12 +26,15 @@ { "type": "perf", "section": "Performance" } ] }, - "infile": "CHANGELOG.md" + "infile": "CHANGELOG.md", + "gitRawCommitsOpts": { + "path": "." + } } }, "hooks": { "before:init": [ - "cp -r ../../docs/skills ./skills", + "rm -rf ./skills &&cp -r ../../docs/skills ./skills", "pnpm run test" ], "before:release": ["pnpm run build"] From 012aa6ee9ad98af5afba4f46c8a4d22b36f7eee9 Mon Sep 17 00:00:00 2001 From: Farnabaz Date: Fri, 24 Apr 2026 17:19:38 +0200 Subject: [PATCH 06/69] docs: demo centric playground (#160) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sébastien Chopin --- docs/app/components/Playground.vue | 24 +- docs/app/components/app/AppHeaderCenter.vue | 3 +- docs/app/components/playground/Gallery.vue | 4 +- docs/app/composables/useNavigation.ts | 17 ++ docs/app/constants/index.ts | 21 +- docs/app/pages/play/[...slug].vue | 299 +++++++++++++++++++ docs/app/pages/{play.vue => play/editor.vue} | 0 packages/comark/src/plugins/task-list.ts | 8 +- 8 files changed, 360 insertions(+), 16 deletions(-) create mode 100644 docs/app/pages/play/[...slug].vue rename docs/app/pages/{play.vue => play/editor.vue} (100%) diff --git a/docs/app/components/Playground.vue b/docs/app/components/Playground.vue index d2891ead..90cf6b61 100644 --- a/docs/app/components/Playground.vue +++ b/docs/app/components/Playground.vue @@ -12,7 +12,7 @@ import breaks from '@comark/nuxt/plugins/breaks' import { renderMarkdown } from 'comark/render' import { Splitpanes, Pane } from 'splitpanes' -import { airbnbMarkdown, playgroundExamples } from '~/constants' +import { playgroundExamples } from '~/constants' import Gallery from '~/components/playground/Gallery.vue' import RatingBar from '~/components/playground/RatingBar.vue' import HostInfo from '~/components/playground/HostInfo.vue' @@ -29,12 +29,22 @@ const props = defineProps<{ compact?: boolean }>() -const selectedExample = ref('airbnb') +const router = useRouter() +const route = useRoute() +const knownExamples = playgroundExamples.map(e => e.value) +const selectedExample = computed({ + get: () => knownExamples.includes(route.query.example as string) ? (route.query.example as string) : knownExamples[0], + set: (value: string) => { + if (knownExamples.includes(value)) { + router.push({ query: { example: value } }) + } + }, +}) const currentExample = computed(() => playgroundExamples.find(e => e.value === selectedExample.value) ?? playgroundExamples[0]!, ) -const markdown = ref(airbnbMarkdown.trim()) +const markdown = ref(currentExample.value.content.trim()) const tree = ref(null) const parseTime = ref(0) const nodeCount = ref(0) @@ -53,6 +63,7 @@ const pluginToggles = useLocalStorage('comark-playground-plugins', { footnotes: true, punctuation: false, breaks: false, + binding: true, }, { mergeDefaults: true }) const parseOptions = useLocalStorage('comark-playground-parse-options', { @@ -354,6 +365,13 @@ const isMatch = computed(() => +
diff --git a/docs/app/components/playground/Gallery.vue b/docs/app/components/playground/Gallery.vue index 805747ca..fbb57f43 100644 --- a/docs/app/components/playground/Gallery.vue +++ b/docs/app/components/playground/Gallery.vue @@ -27,7 +27,7 @@ useEventListener(document, 'keydown', (e: KeyboardEvent) => {