[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1475":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},1475,"marked","markedjs\u002Fmarked","markedjs","A markdown parser and compiler. Built for speed.","https:\u002F\u002Fmarked.js.org",null,"JavaScript",36880,3541,384,7,0,18,112,6,89,"Other",false,"master",[25,26,27,28,29,30],"commonmark","compiler","gfm","hacktoberfest","markdown","parser","2026-06-12 04:00:09","\u003Ca href=\"https:\u002F\u002Fmarked.js.org\">\n  \u003Cimg width=\"60px\" height=\"60px\" src=\"https:\u002F\u002Fmarked.js.org\u002Fimg\u002Flogo-black.svg\" align=\"right\" \u002F>\n\u003C\u002Fa>\n\n# Marked\n\n[![npm](https:\u002F\u002Fbadgen.net\u002Fnpm\u002Fv\u002Fmarked)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fmarked)\n[![install size](https:\u002F\u002Fbadgen.net\u002Fpackagephobia\u002Finstall\u002Fmarked)](https:\u002F\u002Fpackagephobia.now.sh\u002Fresult?p=marked)\n[![downloads](https:\u002F\u002Fbadgen.net\u002Fnpm\u002Fdt\u002Fmarked)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fmarked)\n[![github actions](https:\u002F\u002Fgithub.com\u002Fmarkedjs\u002Fmarked\u002Fworkflows\u002FTests\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fmarkedjs\u002Fmarked\u002Factions)\n[![snyk](https:\u002F\u002Fsnyk.io\u002Ftest\u002Fnpm\u002Fmarked\u002Fbadge.svg)](https:\u002F\u002Fsnyk.io\u002Ftest\u002Fnpm\u002Fmarked)\n\n- ⚡ built for speed\n- ⬇️ low-level compiler for parsing markdown without caching or blocking for long periods of time\n- ⚖️ light-weight while implementing all markdown features from the supported flavors & specifications\n- 🌐 works in a browser, on a server, or from a command line interface (CLI)\n\n## Demo\n\nCheck out the [demo page](https:\u002F\u002Fmarked.js.org\u002Fdemo\u002F) to see Marked in action ⛹️\n\n## Docs\n\nOur [documentation pages](https:\u002F\u002Fmarked.js.org) are also rendered using marked 💯\n\nAlso read about:\n\n* [Options](https:\u002F\u002Fmarked.js.org\u002Fusing_advanced)\n* [Extensibility](https:\u002F\u002Fmarked.js.org\u002Fusing_pro)\n\n## Compatibility\n\n**Node.js:** Only [current and LTS](https:\u002F\u002Fnodejs.org\u002Fen\u002Fabout\u002Freleases\u002F) Node.js versions are supported. End of life Node.js versions may become incompatible with Marked at any point in time.\n\n**Browser:** [Baseline Widely Available](https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FGlossary\u002FBaseline\u002FCompatibility)\n\n## Installation\n\n**CLI:**\n\n```sh\nnpm install -g marked\n```\n\n**In-browser:**\n\n```sh\nnpm install marked\n```\n\n## Usage\n\n### Warning: 🚨 Marked does not [sanitize](https:\u002F\u002Fmarked.js.org\u002Fusing_advanced#options) the output HTML. Please use a sanitize library, like [DOMPurify](https:\u002F\u002Fgithub.com\u002Fcure53\u002FDOMPurify) (recommended), [sanitize-html](https:\u002F\u002Fgithub.com\u002Fapostrophecms\u002Fsanitize-html) or [insane](https:\u002F\u002Fgithub.com\u002Fbevacqua\u002Finsane) on the *output* HTML! 🚨\n\n```\nDOMPurify.sanitize(marked.parse(`\u003Cimg src=\"x\" onerror=\"alert('not happening')\">`));\n```\n\n**CLI**\n\n``` bash\n# Example with stdin input\n$ marked -o hello.html\nhello world\n^D\n$ cat hello.html\n\u003Cp>hello world\u003C\u002Fp>\n```\n\n```bash\n# Print all options\n$ marked --help\n```\n\n**Browser**\n\n```html\n\u003C!doctype html>\n\u003Chtml>\n\u003Chead>\n  \u003Cmeta charset=\"utf-8\"\u002F>\n  \u003Ctitle>Marked in the browser\u003C\u002Ftitle>\n\u003C\u002Fhead>\n\u003Cbody>\n  \u003Cdiv id=\"content\">\u003C\u002Fdiv>\n  \u003Cscript src=\"https:\u002F\u002Fcdn.jsdelivr.net\u002Fnpm\u002Fmarked\u002Flib\u002Fmarked.umd.js\">\u003C\u002Fscript>\n  \u003Cscript>\n    document.getElementById('content').innerHTML =\n      marked.parse('# Marked in the browser\\n\\nRendered by **marked**.');\n  \u003C\u002Fscript>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\nor import esm module\n\n```html\n\u003Cscript type=\"module\">\n  import { marked } from \"https:\u002F\u002Fcdn.jsdelivr.net\u002Fnpm\u002Fmarked\u002Flib\u002Fmarked.esm.js\";\n  document.getElementById('content').innerHTML =\n    marked.parse('# Marked in the browser\\n\\nRendered by **marked**.');\n\u003C\u002Fscript>\n```\n\n## License\n\nCopyright (c) 2018+, MarkedJS. (MIT License)\nCopyright (c) 2011-2018, Christopher Jeffrey. (MIT License)\n","marked 是一个用于解析和编译 Markdown 的工具，专为速度而设计。其核心功能包括低延迟的编译器，能够快速解析 Markdown 而无需缓存或长时间阻塞，并且在实现所有支持的 Markdown 特性的同时保持轻量级。marked 支持多种环境，包括浏览器、服务器端以及命令行接口（CLI）。适用于需要高效处理 Markdown 内容的各种场景，如博客平台、文档系统或任何需要将 Markdown 转换为 HTML 的应用。使用时需注意对输出 HTML 进行安全处理，建议结合 DOMPurify 等库来防止 XSS 攻击。",2,"2026-06-11 02:44:01","top_all"]