{"id":18415052,"url":"https://github.com/mdit-vue/mdit-vue","last_synced_at":"2025-04-07T12:31:36.564Z","repository":{"id":37946346,"uuid":"503986784","full_name":"mdit-vue/mdit-vue","owner":"mdit-vue","description":"markdown-it plugins for Vue.js","archived":false,"fork":false,"pushed_at":"2025-02-05T09:37:22.000Z","size":1881,"stargazers_count":199,"open_issues_count":4,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-01T15:05:01.452Z","etag":null,"topics":["markdown","markdown-it-plugin","vue"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdit-vue.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-16T02:34:43.000Z","updated_at":"2025-03-30T00:49:28.000Z","dependencies_parsed_at":"2023-02-08T17:25:25.784Z","dependency_job_id":"ae13fea7-0f77-432d-a074-f9e5766b29f9","html_url":"https://github.com/mdit-vue/mdit-vue","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdit-vue%2Fmdit-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdit-vue%2Fmdit-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdit-vue%2Fmdit-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdit-vue%2Fmdit-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdit-vue","download_url":"https://codeload.github.com/mdit-vue/mdit-vue/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247653072,"owners_count":20973747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["markdown","markdown-it-plugin","vue"],"created_at":"2024-11-06T03:52:55.505Z","updated_at":"2025-04-07T12:31:36.258Z","avatar_url":"https://github.com/mdit-vue.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Projects Using Vue.js"],"sub_categories":["Open Source"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/mdit-vue/mdit-vue\" target=\"_blank\"\u003e\n    \u003cimg width=\"220\" src=\"https://avatars.githubusercontent.com/u/107597382\" alt=\"mdit-vue\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\n  mdit-vue\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/mdit-vue/mdit-vue/actions/workflows/check.yml\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://github.com/mdit-vue/mdit-vue/actions/workflows/check.yml/badge.svg?branch=main\" alt=\"github check\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://coveralls.io/github/mdit-vue/mdit-vue?branch=main\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://coveralls.io/repos/github/mdit-vue/mdit-vue/badge.svg?branch=main\" alt=\"coverage\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/mdit-vue/mdit-vue/blob/main/LICENSE\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://badgen.net/github/license/mdit-vue/mdit-vue\" alt=\"license\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e [markdown-it](https://github.com/markdown-it/markdown-it) plugins for [Vue.js](https://github.com/vuejs/core)\n\n## Why?\n\nAs we know, [Markdown](https://www.markdownguide.org/getting-started/) could be converted into HTML, and raw HTML is supported by most of the Markdown parsers.\n\nSince the [Vue template syntax](https://vuejs.org/guide/essentials/template-syntax.html) is HTML-based, and all Vue templates are syntactically valid HTML, it's quite straight forward to think that we could use Vue template syntax in [Markdown](https://en.wikipedia.org/wiki/Markdown).\n\nUnlike [JSX](https://reactjs.org/docs/introducing-jsx.html), Vue template syntax is naturally compatible with Markdown syntax, so we don't have to make lots of extensions or limitations to Markdown syntax like [MDX](https://mdxjs.com/). However, we still need to make some modifications to the parser so that Markdown could have more fun with Vue.\n\nThere has been lots of projects that built with this idea, but they are using different ways to modify the Markdown parsers. Most of them don't strictly follow the [Markdown specification](https://commonmark.org/) and have various minor errors.\n\nThis project is here to provide some unified plugins for [markdown-it](https://github.com/markdown-it/markdown-it), one of the most popular markdown parsers in JS world, to make it work better with Vue.\n\n## Packages\n\n| Package                                                     | Version (click for changelogs)                                                                                                   |\n| ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |\n| [@mdit-vue/plugin-component](packages/plugin-component)     | [![plugin-component version](https://badgen.net/npm/v/@mdit-vue/plugin-component)](packages/plugin-component/CHANGELOG.md)       |\n| [@mdit-vue/plugin-frontmatter](packages/plugin-frontmatter) | [![plugin-frontmatter version](https://badgen.net/npm/v/@mdit-vue/plugin-frontmatter)](packages/plugin-frontmatter/CHANGELOG.md) |\n| [@mdit-vue/plugin-headers](packages/plugin-headers)         | [![plugin-headers version](https://badgen.net/npm/v/@mdit-vue/plugin-headers)](packages/plugin-headers/CHANGELOG.md)             |\n| [@mdit-vue/plugin-sfc](packages/plugin-sfc)                 | [![plugin-sfc version](https://badgen.net/npm/v/@mdit-vue/plugin-sfc)](packages/plugin-sfc/CHANGELOG.md)                         |\n| [@mdit-vue/plugin-title](packages/plugin-title)             | [![plugin-title version](https://badgen.net/npm/v/@mdit-vue/plugin-title)](packages/plugin-title/CHANGELOG.md)                   |\n| [@mdit-vue/plugin-toc](packages/plugin-toc)                 | [![plugin-toc version](https://badgen.net/npm/v/@mdit-vue/plugin-title)](packages/plugin-toc/CHANGELOG.md)                       |\n\n## Who is using?\n\nThis project was originally extracted from Vue's official project, and maintained by Vue team members. It is supporting many awesome projects:\n\n- [Slidev](https://github.com/slidevjs/slidev)\n- [unplugin-vue-markdown](https://github.com/unplugin/unplugin-vue-markdown)\n- [VitePress](https://github.com/vuejs/vitepress)\n- [VuePress v2](https://github.com/vuepress/vuepress-next)\n- ... and so on\n\n## License\n\n[MIT](https://github.com/mdit-vue/mdit-vue/blob/main/LICENSE) \u0026copy; [mdit-vue Contributors](https://github.com/mdit-vue/mdit-vue/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdit-vue%2Fmdit-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdit-vue%2Fmdit-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdit-vue%2Fmdit-vue/lists"}