2.0.0 • Published 2 years ago

markdown-it-sub v2.0.0

Weekly downloads
99,754
License
MIT
Repository
github
Last release
2 years ago

markdown-it-sub

Build Status NPM version Coverage Status

Subscript (<sub>) tag plugin for markdown-it markdown parser.

v1.+ requires markdown-it v4.+, see changelog.

H~2~0 => H<sub>2</sub>O

Markup is based on pandoc definition. But nested markup is currently not supported.

Install

node.js, browser:

npm install markdown-it-sub --save
bower install markdown-it-sub --save

Use

var md = require('markdown-it')()
            .use(require('markdown-it-sub'));

md.render('H~2~0') // => '<p>H<sub>2</sub>O</p>'

Differences in browser. If you load script directly into the page, without package system, module will add itself globally as window.markdownitSub.

License

MIT

vue-bulma-text-editor@theonlyjan/vue-markdown-itthomasclausen.dk@tungcv/markdown-it-vue-minifybebras-md@leecervan/vuepress-theme-plutoskri.be@itlangzi/meditstatic-site-expressberserk-plugin-content-manager@paiondata/nextwikidragonstyle-test@everything-registry/sub-chunk-2132ice-markdownalt-super-great-testing-chat-temptag-markdownszqy-markdown-it-vuesvelte-nostrwiki10vue-markdownvue-markdown-attrsvue-markdown-guojvue-markdown-itvue-markdown-konishivue-markdown-plusvue-markdown-v1vue-markdown-v2vue-markdown-v3vue-markdown2ws-strapi-forkxcui-demo-loaderxiteupsubmarkdownntnstackeditspec-up-tspec-markdown-editorspec-upstrapi-boing-adminstrapi-maxiphy-adminstrapi-plugin-content-manager-mockstrapi-plugin-content-manager-pxtstrapi-plugin-content-managerthepresstiklab-markdown-uivoox-waline-vercelvitepress-pure-theme-zycovite-plugin-vuedocvickymdvitepress-blog@roy2651/roy2651-engine@ruangnazi/markdown-it-vue@ruibaby/wikijk-markdown-itjoplin-rendererjungledrumigniteifergrunt-slice-markdownhonest-editor-jshtexhexo-super-renderhexo-post-parserhexo-renderer-multi-markdown-ithexo-renderer-multi-markdown-it-plushexo-renderer-multi-next-markdown-ithexo-renderer-markdownhexo-renderer-markdown-ithexo-renderer-markdown-it-jzjhexo-renderer-markdown-it-katexhexo-renderer-markdown-it-plushexo-renderer-adarenderhexo-renderershackmd-to-html-clihexo-next-imarkdownlivedown2lke-componentlke-component-vue3luminet-renderer-markdown-itmarkdown-to-documentmarkgitmarkdown-coremarkdown-cli-compilermarkdown-it-vue-antmarkdown-it-vue-custommarkdown-it-vue-diymarkdown-it-vue-mermaidmarkdown-it-vue-minifymarkdown-it-vue-plantuml-testmarkdown-it-vue-simplifymarkdown-it-vue-ssrmarkdown-it-vue2markdown-it-vuemarkdown-render-jsmarkdown-it-nice-pdfmarkdown-it-pfmmarkdown2html-lessmarkdown2html-promarked-it-coremarksetmarkplus-engine
2.0.0

2 years ago

1.0.0

11 years ago

0.1.0

11 years ago