{"_id":"@byronwan/hexo-renderer-markdown-it-katex","name":"@byronwan/hexo-renderer-markdown-it-katex","dist-tags":{"latest":"3.5.0"},"versions":{"3.5.0":{"name":"@byronwan/hexo-renderer-markdown-it-katex","version":"3.5.0","description":"Supporting KaTeX out of box. No need to include the stylesheet manually.","main":"index.js","scripts":{"eslint":"eslint .","test":"mocha test/index.js","test-cov":"nyc npm run test"},"repository":{"type":"git","url":"git+ssh://git@github.com/byronwanbl/hexo-renderer-markdown-it-katex.git"},"keywords":["hexo","renderer","markdown","markdown-it","hexo-renderer","katex","latex","math"],"directories":{"lib":"./lib"},"author":{"name":"Abreto Fu","email":"m@abreto.net","url":"https://abreto.net"},"license":"MIT","homepage":"https://github.com/byronwanbl/hexo-renderer-markdown-it-katex","dependencies":{"@byronwan/markdown-it-katex":"^3.3.0","markdown-it":"^10.0.0","markdown-it-abbr":"^1.0.4","markdown-it-cjk-breaks":"^1.1.2","markdown-it-container":"^2.0.0","markdown-it-deflist":"^2.0.3","markdown-it-emoji":"^1.4.0","markdown-it-footnote":"^3.0.1","markdown-it-ins":"^3.0.0","markdown-it-mark":"^3.0.0","markdown-it-sub":"^1.0.0","markdown-it-sup":"^1.0.0","sluggo":"^0.2.0"},"devDependencies":{"chai":"^4.0.0","eslint":"^6.0.1","eslint-config-hexo":"^3.0.0","mocha":"^6.0.2","nyc":"^14.1.1"},"engines":{"node":">=8.6.0"},"gitHead":"7c255d487f2bc443a80d42663ca55c2a82b0cb03","bugs":{"url":"https://github.com/byronwanbl/hexo-renderer-markdown-it-katex/issues"},"_id":"@byronwan/hexo-renderer-markdown-it-katex@3.5.0","_nodeVersion":"19.9.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-HZ+TEGSozrwsCXYcGo3VO8HgULD6f68XrtOMVTmlLM6wTuXYcC0xmC2BtnPtr56iU4QAKXmpvzqfUDK9z4H1Nw==","shasum":"776027bd8e06bec39ca27e18c79926eef58dfc90","tarball":"https://registry.npmjs.org/@byronwan/hexo-renderer-markdown-it-katex/-/hexo-renderer-markdown-it-katex-3.5.0.tgz","fileCount":7,"unpackedSize":8503,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8tYYbUQxjZ5uDmwgsgEYiw9wBi7Aa7OS0lCZ1vP4EAAiEA4tHFlc5g2WcPVZM2qIbao/ze7hErQQ2duuJqIjsPu3o="}]},"_npmUser":{"name":"byronwan","email":"byronwan@outlook.com"},"maintainers":[{"name":"byronwan","email":"byronwan@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hexo-renderer-markdown-it-katex_3.5.0_1683858851931_0.4162849054930735"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-12T02:34:11.878Z","3.5.0":"2023-05-12T02:34:12.087Z","modified":"2023-05-12T02:34:12.239Z"},"maintainers":[{"name":"byronwan","email":"byronwan@outlook.com"}],"description":"Supporting KaTeX out of box. No need to include the stylesheet manually.","homepage":"https://github.com/byronwanbl/hexo-renderer-markdown-it-katex","keywords":["hexo","renderer","markdown","markdown-it","hexo-renderer","katex","latex","math"],"repository":{"type":"git","url":"git+ssh://git@github.com/byronwanbl/hexo-renderer-markdown-it-katex.git"},"author":{"name":"Abreto Fu","email":"m@abreto.net","url":"https://abreto.net"},"bugs":{"url":"https://github.com/byronwanbl/hexo-renderer-markdown-it-katex/issues"},"license":"MIT","readme":"# hexo-renderer-markdown-it-katex\n\nThis plugin is forked from [hexo-renderer-markdown-it].\nAdds support for [KaTeX] out of box,\nwhich means you don't need to include the KaTeX stylesheet in your HTML manually.\n\nThis renderer plugin uses [Markdown-it] as a render engine on [Hexo]. Adds support for [Markdown] and [CommonMark].\n\n## Main Features\n- Support for [Markdown], [GFM] and [CommonMark]\n- Extensive configuration\n- Faster than the default renderer | `hexo-renderer-marked`\n- Safe ID for headings\n- Anchors for headings with ID\n- Footnotes\n- `<sub>` H<sub>2</sub>O\n- `<sup>` x<sup>2</sup>\n- `<ins>` <ins>Inserted</ins>\n- [KaTeX] out of box\n\n## Installation\n```sh\nyarn remove hexo-renderer-marked\nyarn add hexo-renderer-markdown-it-katex\n```\n\n## Options\n\n``` yml\nmarkdown:\n  render:\n    html: true\n    xhtmlOut: false\n    breaks: true\n    linkify: true\n    typographer: true\n    quotes: '“”‘’'\n  plugins:\n  anchors:\n    level: 2\n    collisionSuffix: ''\n```\n\nRefer to [the wiki](https://github.com/hexojs/hexo-renderer-markdown-it/wiki) for more details.\n\n## KaTeX\nWe use `@abreto/markdown-it-katex` plugin\nand automatically include the KaTeX stylesheet in every HTML document generated.\nCurrent KaTeX version is `0.11.1`.\n\n## Suggested plugins\n- markdown-it-deflist\n- markdown-it-abbr\n\n## Requests and bug reports\nIf you have any feature requests or bugs to report, you're welcome to [file an issue](https://github.com/hexojs/hexo-renderer-markdown-it/issues).\n\n\n[CommonMark]: http://commonmark.org/\n[Markdown]: http://daringfireball.net/projects/markdown/\n[GFM]: https://help.github.com/articles/github-flavored-markdown/\n[Markdown-it]: https://github.com/markdown-it/markdown-it\n[Hexo]: http://hexo.io/\n[hexo-renderer-markdown-it]: https://github.com/hexojs/hexo-renderer-markdown-it\n[KaTeX]: https://katex.org/\n","readmeFilename":"README.md"}