2.0.0 • Published 2 years ago

markdown-it-sup v2.0.0

Weekly downloads
103,108
License
MIT
Repository
github
Last release
2 years ago

markdown-it-sup

CI NPM version Coverage Status

Superscript (<sup>) tag plugin for markdown-it markdown parser.

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

29^th^ => 29<sup>th</sup>

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

Install

node.js, browser:

npm install markdown-it-sup --save
bower install markdown-it-sup --save

Use

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

md.render('29^th^') // => '<p>29<sup>th</sup></p>'

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

License

MIT

vue-bulma-text-editorwebchat-bot-ui@theonlyjan/vue-markdown-itthomasclausen.dkreact-chat-widget-send-manipulation-fix@tungcv/markdown-it-vue-minifybebras-md@leecervan/vuepress-theme-plutohou-markdownskri.be@itlangzi/medit@everything_explained/web-md-bundlerstatic-site-expressberserk-plugin-content-manager@paiondata/nextwikidragonstyle-test@everything-registry/sub-chunk-2132ice-markdownalt-super-great-testing-chat-temptag-markdownszqy-markdown-it-vuesvelte-nostrtest-chat-widgetwiki10vue-markdownvue-markdown-attrsvue-markdown-guojvue-markdown-itvue-markdown-konishivue-markdown-plusvue-markdown-v1vue-markdown-v2vue-markdown-v3vue-markdown2webchat-boto-uixatkit-chat-widgetws-strapi-forkxcui-demo-loaderxiteupsubmarkdownntnstackeditspec-up-tspec-markdown-editorspec-upstrapi-boing-adminstrapi-maxiphy-adminstrapi-plugin-content-manager-mockstrapi-plugin-content-manager-pxtstrapi-plugin-content-managerth-react-chat-widgetthepresstiklab-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-imarkdownlivedown2limendo-chat-widgetlke-componentlke-component-vue3luminet-renderer-markdown-itmarkdown-to-documentmarkgitmarkdown-coremarkdown-cli-compilermarkdown-it-vue-antmarkdown-it-vue-custommarkdown-it-sup-altmarkdown-it-vue-diymarkdown-it-vue-mermaidmarkdown-it-vue-minifymarkdown-it-vue-plantuml-testmarkdown-it-vue-simplifymarkdown-it-vue-ssr
2.0.0

2 years ago

1.0.0

11 years ago

0.1.0

11 years ago