{"id":13601720,"url":"https://github.com/dwqs/mpvue-markdown-parser","last_synced_at":"2025-03-13T08:31:50.156Z","repository":{"id":57303620,"uuid":"138626503","full_name":"dwqs/mpvue-markdown-parser","owner":"dwqs","description":"A markdown parser for mpvue","archived":true,"fork":false,"pushed_at":"2018-09-17T11:30:43.000Z","size":18,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T23:35:09.466Z","etag":null,"topics":["markdown","mpvue","mpvue-markdown","mpvue-markdown-parser","wx","wx-markdown","wx-markdown-parser"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/dwqs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-25T17:13:23.000Z","updated_at":"2025-01-14T09:44:05.000Z","dependencies_parsed_at":"2022-08-24T17:11:38.496Z","dependency_job_id":null,"html_url":"https://github.com/dwqs/mpvue-markdown-parser","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwqs%2Fmpvue-markdown-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwqs%2Fmpvue-markdown-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwqs%2Fmpvue-markdown-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwqs%2Fmpvue-markdown-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwqs","download_url":"https://codeload.github.com/dwqs/mpvue-markdown-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243369886,"owners_count":20280095,"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","mpvue","mpvue-markdown","mpvue-markdown-parser","wx","wx-markdown","wx-markdown-parser"],"created_at":"2024-08-01T18:01:07.074Z","updated_at":"2025-03-13T08:31:49.851Z","avatar_url":"https://github.com/dwqs.png","language":"JavaScript","funding_links":[],"categories":["组件"],"sub_categories":["目录"],"readme":"![npm-version](https://img.shields.io/npm/v/mpvue-markdown-parser.svg) ![license](https://img.shields.io/npm/l/mpvue-markdown-parser.svg)\n\n## mpvue-markdown-parser\nA markdown parser for [mpvue](https://github.com/Meituan-Dianping/mpvue).\n\n## Preview screenshots\n**Basic render:**\n\n![image](https://user-images.githubusercontent.com/7871813/41890957-a8bf550e-7944-11e8-95c5-188e480d93ed.png)\n\n**Code highlight and list:**\n\n![image](https://user-images.githubusercontent.com/7871813/41891003-db5ed8f4-7944-11e8-8409-2a5bedd736e1.png)\n\n**Table and tasks lists:**\n\n![image](https://user-images.githubusercontent.com/7871813/41891028-f7d1896e-7944-11e8-8d86-c05a427c8c05.png)\n\n## Features\n1. Easy to use\n2. Supports code highlight, [tasks list](https://blog.github.com/2014-04-28-task-lists-in-all-markdown-documents/), etc.\n3. Powered by native component(`rich-text`)\n4. Better Performance\n\n## Installation\n\nnpm:\n\n```\nnpm i --save mpvue-markdown-parser\n```\nor yarn\n\n```\nyarn add  mpvue-markdown-parser\n```\n## Get Started\n\n```html\n\u003ctemplate\u003e\n  \u003crich-text :nodes=\"nodes\"\u003e\u003c/rich-text\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\n  import 'prismjs/themes/prism.css';\n  import MpvueMarkdownParser from 'mpvue-markdown-parser';\n  import 'mpvue-markdown-parser/dist/index.css';\n\n  export default {\n    data () {\n      return {\n        nodes: MpvueMarkdownParser('# your markdown text')\n      }\n    }\n  }\n\u003c/script\u003e\n```\n\n## Used By\n* [mpvue-jithub](https://github.com/dwqs/mp-jithub)\n\n## LICENSE\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwqs%2Fmpvue-markdown-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwqs%2Fmpvue-markdown-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwqs%2Fmpvue-markdown-parser/lists"}