2.0.0 • Published 4 months ago

markdown-it-sub v2.0.0

Weekly downloads
99,754
License
MIT
Repository
github
Last release
4 months 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-markdownvue-markdown-plusnode-patternlibrarynodebb-plugin-ws-markdownavnpc.front@asterics-docs/vuepress-theme-docsbebras@akemona-org/strapi-plugin-content-managerbitmui@ctoweb/plugin-subcollosboomack@danhuyenphan/strapi-admin@danieldx/menote@cuiko/for-editor@bimbeo160/admin@bret/siteupblueprint-markdown-renderer@barkoder/vue-codemarkdown@byronwan/hexo-renderer-markdown-it-katex@brainhive/strapi-admin@cabezonidas/shop-uinodebb-plugin-cppnet-markdownquasar-ui-qmarkdown-v2rant-uipupils-plugin-content-managerpotmot-vue-editororca-markdown-it-vuepromdrayx-uireact-markdown-editor-cm5react-markdown-editor-githubreact-markdown2react-rich-markdownperfect-markdownpillrpiral-docs-toolssane-reportssergiy-strapi-plugin-content-managerxiteupzacheditor-engineuek-react-markdownuek-react-mdub-jsdocvite-plugin-vuedocvitepress-blogvitepress-pure-theme-zycovickymdvue-markdownvue-markdown-attrsvue-stackeditorvue-remarkdownvue-markdown-v1vue-markdown-v2vue-markdown-v3vue-markdown2vue-markdown-itvue-markdown-konishivue-markdown-guojtop-bunvoox-waline-vercelvuepress2documentvue2-codemirror-markdownvuepress-theme-blog-kawarimidollvuepress-theme-bulmavuex-stackeditvue3-markdown-itws-strapi-forkxcui-demo-loaderxwb-react-markdownwiki10zeppelin-markdown-spellzfinderyhb-vue-markdownyirous-markdownvuejs-markdown-itvue2-markdown-ittutors-gen-libturpanv3-markdown-editortiklab-markdown-uitinso-editor-enginethepresssitedownsvelte-nostrtag-markdownstrapi-plugin-content-manager
2.0.0

4 months ago

1.0.0

9 years ago

0.1.0

9 years ago