{"_id":"@comark/markdown-it","_rev":"5-75ebcaa06af53955eb25db21aca70bbe","name":"@comark/markdown-it","dist-tags":{"latest":"0.3.4"},"versions":{"0.3.0":{"name":"@comark/markdown-it","version":"0.3.0","keywords":["markdown","markdown-it-plugin"],"license":"MIT","_id":"@comark/markdown-it@0.3.0","maintainers":[{"name":"farnabaz","email":"farnabaz@gmail.com"},{"name":"atinux","email":"atinux@gmail.com"}],"homepage":"https://github.com/comarkdown/markdown-it-comark#readme","bugs":{"url":"https://github.com/comarkdown/markdown-it-comark/issues"},"dist":{"shasum":"3bc2fbe7f4f70e80b8b9f1beb7299f97d3609f9b","tarball":"https://registry.npmjs.org/@comark/markdown-it/-/markdown-it-0.3.0.tgz","fileCount":6,"integrity":"sha512-wteRXFYAPpb4QQJFFbf1mZ/zZ/1PMTWi68ws35IZ+ePXBVWhg+Yx5MjTGF145H4DTlpODtRPwelZs9kc2QdQRg==","signatures":[{"sig":"MEYCIQDLdD2ZBuE8tdVp2srQWMSpToKORwHNOq0EknkZHYkhzAIhAIvgT9dPys5MHR5vWEmaL8mBS+4W3qd8nI9OkoBHktw+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30164},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs"}},"funding":"https://github.com/sponsors/antfu","gitHead":"9dbd05b3773439cc33798030dc26c8eb0a9f2339","scripts":{"dev":"unbuild --stub","lint":"eslint .","test":"vitest","build":"unbuild","start":"tsx src/index.ts","release":"bumpp","typecheck":"tsc --noEmit","prepublishOnly":"nr build"},"_npmUser":{"name":"farnabaz","email":"farnabaz@gmail.com"},"repository":{"url":"git+https://github.com/comarkdown/markdown-it-comark.git","type":"git"},"_npmVersion":"11.6.2","description":"Comark (Component in Markdown) support for markdown-it","directories":{},"lint-staged":{"*":"eslint --fix"},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"js-yaml":"^4.1.1"},"typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"tsx":"^4.21.0","pnpm":"^10.29.2","vite":"^7.3.1","bumpp":"^10.4.1","scule":"^1.3.0","eslint":"^10.0.2","vitest":"^4.0.18","unbuild":"^3.6.1","prettier":"^3.8.1","@antfu/ni":"^28.2.0","typescript":"^5.9.3","@types/node":"^25.3.1","lint-staged":"^16.2.7","markdown-it":"^14.1.1","@antfu/utils":"^9.3.0","@types/js-yaml":"^4.0.9","simple-git-hooks":"^2.13.1","@antfu/eslint-config":"^7.4.2","markdown-it-container":"^4.0.0","markdown-it-task-checkbox":"^1.0.6","@mdit-vue/plugin-component":"^3.0.2","@mdit-vue/plugin-frontmatter":"^3.0.2","@types/markdown-it-container":"^4.0.0"},"peerDependencies":{"markdown-it":"^14.0.0","@types/markdown-it":"*"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/markdown-it_0.3.0_1772118281792_0.5785652977513369","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@comark/markdown-it","version":"0.3.1","keywords":["markdown","markdown-it-plugin"],"license":"MIT","_id":"@comark/markdown-it@0.3.1","maintainers":[{"name":"farnabaz","email":"farnabaz@gmail.com"},{"name":"atinux","email":"atinux@gmail.com"}],"homepage":"https://github.com/comarkdown/markdown-it-comark#readme","bugs":{"url":"https://github.com/comarkdown/markdown-it-comark/issues"},"dist":{"shasum":"d7813b0eba6ff9564085ad17b05b9ebaa5dd6f70","tarball":"https://registry.npmjs.org/@comark/markdown-it/-/markdown-it-0.3.1.tgz","fileCount":6,"integrity":"sha512-GyaZXxQ0lJfNR4zDebMcMj7A4jb9PM2gXt7mFdWDwA/s8ECYsYzWq2wEa/WmPqheuY0gHbnBxiK937hPQ+3IKA==","signatures":[{"sig":"MEUCIQC0io7680abBWVY2q/LWMb1dOLs8dlZqL4DbCub5JeAyQIgYCBSc8OJPMNDDsXkgrb3kWom7R3yYdtPfn4gVBdlbes=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30342},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs"}},"funding":"https://github.com/sponsors/antfu","gitHead":"e56cea0a91a8829c3b20105832ebe917083f6778","scripts":{"dev":"unbuild --stub","lint":"eslint .","test":"vitest","build":"unbuild","start":"tsx src/index.ts","release":"bumpp","typecheck":"tsc --noEmit","prepublishOnly":"nr build"},"_npmUser":{"name":"farnabaz","email":"farnabaz@gmail.com"},"repository":{"url":"git+https://github.com/comarkdown/markdown-it-comark.git","type":"git"},"_npmVersion":"11.6.2","description":"Comark (Component in Markdown) support for markdown-it","directories":{},"lint-staged":{"*":"eslint --fix"},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"js-yaml":"^4.1.1"},"typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"tsx":"^4.21.0","pnpm":"^10.29.2","vite":"^7.3.1","bumpp":"^10.4.1","scule":"^1.3.0","eslint":"^10.0.2","vitest":"^4.0.18","unbuild":"^3.6.1","prettier":"^3.8.1","@antfu/ni":"^28.2.0","typescript":"^5.9.3","@types/node":"^25.3.1","lint-staged":"^16.2.7","markdown-it":"^14.1.1","@antfu/utils":"^9.3.0","@types/js-yaml":"^4.0.9","simple-git-hooks":"^2.13.1","@antfu/eslint-config":"^7.4.2","markdown-it-container":"^4.0.0","markdown-it-task-checkbox":"^1.0.6","@mdit-vue/plugin-component":"^3.0.2","@mdit-vue/plugin-frontmatter":"^3.0.2","@types/markdown-it-container":"^4.0.0"},"peerDependencies":{"markdown-it":"^14.0.0","@types/markdown-it":"*"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/markdown-it_0.3.1_1772633837440_0.01995757578417856","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@comark/markdown-it","version":"0.3.2","keywords":["markdown","markdown-it-plugin"],"license":"MIT","_id":"@comark/markdown-it@0.3.2","maintainers":[{"name":"farnabaz","email":"farnabaz@gmail.com"},{"name":"atinux","email":"atinux@gmail.com"}],"homepage":"https://github.com/comarkdown/markdown-it-comark#readme","bugs":{"url":"https://github.com/comarkdown/markdown-it-comark/issues"},"dist":{"shasum":"bc8bfc3d533efd62d5b1ae52fd9a42ee00d6fcb5","tarball":"https://registry.npmjs.org/@comark/markdown-it/-/markdown-it-0.3.2.tgz","fileCount":6,"integrity":"sha512-h+zwwsqr2zLBajKqdzLiLjhccO8+euTAKiBRLJcJvaMGma4yPCrYfWM0dgO0AFz3gK030cf5I5qBN0a3C3jzpQ==","signatures":[{"sig":"MEUCIQDUlXtOmW6LP1eiFghT98+aLWokHHDA+NpFez01VQQp1QIgGuqkHX7o2aGEDwBkAz+9Qh9SN37vvFjXIur0nLxzTeU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30374},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs"}},"funding":"https://github.com/sponsors/antfu","gitHead":"1591c2602562ec7061464e6c1e498ca00c3815d8","scripts":{"dev":"unbuild --stub","lint":"eslint .","test":"vitest","build":"unbuild","start":"tsx src/index.ts","release":"bumpp","typecheck":"tsc --noEmit","prepublishOnly":"nr build"},"_npmUser":{"name":"farnabaz","email":"farnabaz@gmail.com"},"repository":{"url":"git+https://github.com/comarkdown/markdown-it-comark.git","type":"git"},"_npmVersion":"11.6.2","description":"Comark (Component in Markdown) support for markdown-it","directories":{},"lint-staged":{"*":"eslint --fix"},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"js-yaml":"^4.1.1"},"typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"tsx":"^4.21.0","pnpm":"^10.29.2","vite":"^7.3.1","bumpp":"^10.4.1","scule":"^1.3.0","eslint":"^10.0.2","vitest":"^4.0.18","unbuild":"^3.6.1","prettier":"^3.8.1","@antfu/ni":"^28.2.0","typescript":"^5.9.3","@types/node":"^25.3.1","lint-staged":"^16.2.7","markdown-it":"^14.1.1","@antfu/utils":"^9.3.0","@types/js-yaml":"^4.0.9","simple-git-hooks":"^2.13.1","@antfu/eslint-config":"^7.4.2","markdown-it-container":"^4.0.0","markdown-it-task-checkbox":"^1.0.6","@mdit-vue/plugin-component":"^3.0.2","@mdit-vue/plugin-frontmatter":"^3.0.2","@types/markdown-it-container":"^4.0.0"},"peerDependencies":{"markdown-it":"^14.0.0","@types/markdown-it":"*"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/markdown-it_0.3.2_1773134321868_0.2927305339466977","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@comark/markdown-it","version":"0.3.3","keywords":["markdown","markdown-it-plugin"],"license":"MIT","_id":"@comark/markdown-it@0.3.3","maintainers":[{"name":"farnabaz","email":"farnabaz@gmail.com"},{"name":"atinux","email":"atinux@gmail.com"}],"homepage":"https://github.com/comarkdown/markdown-it-comark#readme","bugs":{"url":"https://github.com/comarkdown/markdown-it-comark/issues"},"dist":{"shasum":"8288a190dae4c0d7e6a00f522c8f8a60bdbda7b0","tarball":"https://registry.npmjs.org/@comark/markdown-it/-/markdown-it-0.3.3.tgz","fileCount":6,"integrity":"sha512-qG+dbiwPKcaO3kzABw0dxtLqTxHAgqpklLwnu56jiYX3V/0dpVYCTIhXRhKgAo1JasBhcPP+OeHAENziXxGYbg==","signatures":[{"sig":"MEYCIQDaW1x3FfiqOLnKaNrAFXZDxwkeUYY/qWb5C1+GVMQB2AIhAPKMrN+aEaupfwrs7o3D1uJPUbIUt3kOT9CTAxCFKM84","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@comark%2fmarkdown-it@0.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30950},"main":"./dist/index.mjs","type":"module","_from":"file:comark-markdown-it-0.3.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs"}},"funding":"https://github.com/sponsors/antfu","scripts":{"dev":"unbuild --stub","lint":"eslint .","test":"vitest","build":"unbuild","start":"tsx src/index.ts","release":"bumpp","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fc660863-1160-450d-b02c-0535f2c64fab"}},"_resolved":"/tmp/886344b088eec48a4f7ff6498eacee56/comark-markdown-it-0.3.3.tgz","_integrity":"sha512-qG+dbiwPKcaO3kzABw0dxtLqTxHAgqpklLwnu56jiYX3V/0dpVYCTIhXRhKgAo1JasBhcPP+OeHAENziXxGYbg==","repository":{"url":"git+https://github.com/comarkdown/markdown-it-comark.git","type":"git"},"_npmVersion":"11.11.0","description":"Comark (Component in Markdown) support for markdown-it","directories":{},"lint-staged":{"*":"eslint --fix"},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{"js-yaml":"^4.1.1"},"typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","pnpm":"^10.29.2","vite":"^7.3.1","bumpp":"^10.4.1","scule":"^1.3.0","eslint":"^10.0.2","vitest":"^4.0.18","unbuild":"^3.6.1","prettier":"^3.8.1","@antfu/ni":"^28.2.0","typescript":"^5.9.3","@types/node":"^25.3.1","lint-staged":"^16.2.7","markdown-it":"^14.1.1","@antfu/utils":"^9.3.0","@types/js-yaml":"^4.0.9","simple-git-hooks":"^2.13.1","@antfu/eslint-config":"^7.4.2","markdown-it-container":"^4.0.0","markdown-it-task-checkbox":"^1.0.6","@mdit-vue/plugin-component":"^3.0.2","@mdit-vue/plugin-frontmatter":"^3.0.2","@types/markdown-it-container":"^4.0.0"},"peerDependencies":{"markdown-it":"^14.0.0","@types/markdown-it":"*"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/markdown-it_0.3.3_1775732911593_0.037720163616067115","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@comark/markdown-it","type":"module","version":"0.3.4","description":"Comark (Component in Markdown) support for markdown-it","license":"MIT","funding":"https://github.com/sponsors/antfu","homepage":"https://github.com/comarkdown/markdown-it-comark#readme","repository":{"type":"git","url":"git+https://github.com/comarkdown/markdown-it-comark.git"},"bugs":{"url":"https://github.com/comarkdown/markdown-it-comark/issues"},"keywords":["markdown","markdown-it-plugin"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"peerDependencies":{"@types/markdown-it":"*","markdown-it":"^14.0.0"},"dependencies":{"js-yaml":"^4.1.1"},"devDependencies":{"@antfu/eslint-config":"^8.2.0","@antfu/ni":"^30.0.0","@antfu/utils":"^9.3.0","@mdit-vue/plugin-component":"^3.0.2","@mdit-vue/plugin-frontmatter":"^3.0.2","@types/js-yaml":"^4.0.9","@types/markdown-it-container":"^4.0.0","@types/node":"^25.6.0","bumpp":"^11.0.1","eslint":"^10.2.0","lint-staged":"^16.4.0","markdown-it":"^14.1.1","markdown-it-container":"^4.0.0","markdown-it-task-checkbox":"^1.0.6","pnpm":"^10.29.2","prettier":"^3.8.3","scule":"^1.3.0","simple-git-hooks":"^2.13.1","tsx":"^4.21.0","typescript":"^6.0.2","unbuild":"^3.6.1","vite":"^8.0.8","vitest":"^4.1.4"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","release":"bumpp","start":"tsx src/index.ts","test":"vitest","typecheck":"tsc --noEmit","verify":"pnpm run lint && pnpm run test --run && pnpm run typecheck"},"_id":"@comark/markdown-it@0.3.4","_integrity":"sha512-btB+klvBi08qRZGeSLbykfD2ROxhLLQJ4+uDI7FjL560ztlzTtBlGmqe6zP49mW/Yp9y39kSWeRS46iEFpGa0w==","_resolved":"/tmp/255fc908e0a41cf77af8a5c9b0f1773d/comark-markdown-it-0.3.4.tgz","_from":"file:comark-markdown-it-0.3.4.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-btB+klvBi08qRZGeSLbykfD2ROxhLLQJ4+uDI7FjL560ztlzTtBlGmqe6zP49mW/Yp9y39kSWeRS46iEFpGa0w==","shasum":"b9f65f2c3a1a23fe87dba81820f9602eabe48a2d","tarball":"https://registry.npmjs.org/@comark/markdown-it/-/markdown-it-0.3.4.tgz","fileCount":6,"unpackedSize":31398,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@comark%2fmarkdown-it@0.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCu6zQe8PeADhjv1hXdKM69dqSuSgCeEUhwDWiXmntG3QIhAIvruEUdY/ppfi39tMu67OiSUVVPUnDyzto+eT9bvX1F"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fc660863-1160-450d-b02c-0535f2c64fab"}},"directories":{},"maintainers":[{"name":"farnabaz","email":"farnabaz@gmail.com"},{"name":"atinux","email":"atinux@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/markdown-it_0.3.4_1776252803689_0.776636448974876"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-26T15:04:41.683Z","modified":"2026-04-15T11:33:24.161Z","0.3.0":"2026-02-26T15:04:41.942Z","0.3.1":"2026-03-04T14:17:17.580Z","0.3.2":"2026-03-10T09:18:42.010Z","0.3.3":"2026-04-09T11:08:31.749Z","0.3.4":"2026-04-15T11:33:23.836Z"},"bugs":{"url":"https://github.com/comarkdown/markdown-it-comark/issues"},"license":"MIT","homepage":"https://github.com/comarkdown/markdown-it-comark#readme","keywords":["markdown","markdown-it-plugin"],"repository":{"type":"git","url":"git+https://github.com/comarkdown/markdown-it-comark.git"},"description":"Comark (Component in Markdown) support for markdown-it","maintainers":[{"name":"farnabaz","email":"farnabaz@gmail.com"},{"name":"atinux","email":"atinux@gmail.com"}],"readme":"# @comark/markdown-it\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![bundle][bundle-src]][bundle-href]\n[![JSDocs][jsdocs-src]][jsdocs-href]\n[![License][license-src]][license-href]\n\n[Comark (Component in Markdown)](https://comark.dev) for [`markdown-it`](https://github.com/markdown-it/markdown-it).\n\nUse [VS Code MDC Extension](https://marketplace.visualstudio.com/items?itemName=Nuxt.mdc) for IDE support.\n\n## Usage\n\n```bash\nnpm i markdown-it @comark/markdown-it\n```\n\n```ts\nimport comark from '@comark/markdown-it'\nimport MarkdownIt from 'markdown-it'\n\nconst md = new MarkdownIt()\n  .use(comark)\n\nconst result = md.render(`\n# Hello\n\nHello **World** with :my-component{.text-red name=\"foo\"}!\n`)\n```\n\n## Features\n\nThis plugin implements all the syntaxes documented in [Comark Syntax](https://comark.dev/syntax/markdown). We are still testing behavior compatibility in detail before reaching `v1.0.0`.\n\n- [x] [Block Component](https://comark.dev/syntax/markdown#block-components)\n  - [x] [Nesting](https://comark.dev/syntax/markdown#nested-components)\n  - [x] [YAML Props](https://comark.dev/syntax/components#yaml-props-use-cases)\n  - [x] [Slots](https://comark.dev/syntax/components#component-slots)\n- [x] [Inline Components](https://comark.dev/syntax/components#inline-components)\n- [x] [Inline Props](https://comark.dev/syntax/markdown#attributes)\n- [x] [Span](https://comark.dev/syntax/markdown#span-text)\n- ~~Frontmatter~~. Frontmatter is not built-in in this plugin, we recommend using [`@mdit-vue/plugin-frontmatter`](https://github.com/mdit-vue/mdit-vue/tree/main/packages/plugin-frontmatter) if you want to use this plugin outside of Comark package,\n\n## License\n\nMade with ❤️\n\nPublished under MIT License.\n\n## Credits\n\n❤️ This project was originally created by [Anthony Fu](https://github.com/antfu) in 2022. Special thanks for the amazing work and inspiration! 🙏✨\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/@comark/markdown-it?style=flat&colorA=080f12&colorB=1fa669\n[npm-version-href]: https://npmjs.com/package/@comark/markdown-it\n[npm-downloads-src]: https://img.shields.io/npm/dm/@comark/markdown-it?style=flat&colorA=080f12&colorB=1fa669\n[npm-downloads-href]: https://npmjs.com/package/@comark/markdown-it\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/@comark/markdown-it?style=flat&colorA=080f12&colorB=1fa669&label=minzip\n[bundle-href]: https://bundlephobia.com/result?p=@comark/markdown-it\n[license-src]: https://img.shields.io/github/license/comarkdown/markdown-it-comark.svg?style=flat&colorA=080f12&colorB=1fa669\n[license-href]: https://github.com/comarkdown/markdown-it-comark/blob/main/LICENSE\n[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669\n[jsdocs-href]: https://www.jsdocs.io/package/@comark/markdown-it\n","readmeFilename":"README.md"}