2.0.0 • Published 5 months ago

markdown-it-sup v2.0.0

Weekly downloads
103,108
License
MIT
Repository
github
Last release
5 months 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-markdown@markbind/core@luisbringitps/react-chat-widgethexo-renderer-multi-markdown-itspec-markdown-editor@roy2651/roy2651-engine@leo9466/vuepress-plugin-markdown-it-advance@letsnova/perfect-markdown@likenttt/waline-with-feishu@lightwindcss/themd@live-change/frontend-base@motes/mdgovuk-eleventy-plugingrunt-slice-markdown@micro-app/plugin-vuepress@meeehdi/strapi-admin@lyn4ed/strapi-admin@lynched-test/strapi-admin@masila/chat-widget@mathssyfy/plugin-markdown@mrizki/react-chat-widget@mqshensc/renderer@mtraders/markdown-renderergenerate-feed@musaev/strapiadmin@nezha2019/react-chat-widget@newscaler/react-chat-widget@nerooc/chat-widget@nexacarts/admin@nhuson/react-chat-widget@nineya/halo-markdown-renderer@la-ots/eleventy-plugin-pelican@renovamen/vuepress-plugin-md-plusifer@ruibaby/wikihackmd-to-html-cli@redapollos/react-chat-widgetignite@ruangnazi/markdown-it-vue@ryanlee2014/mavon-editor@ryaneewx/react-chat-widget@proteus-ai/react-chat-widget@quarto/jupyterlab-quarto@qxtang/doc-builder@punch-in/strapi-plugin-content-manager@quasar/quasar-app-extension-qmarkdown@querycap/markdown@opuscapita/react-markdown-editor@qinzhengquan/react-chat-widget@pubpub/prose@pubpub/render-fileshonest-editor-js@palerock/marked-to@pidoc/corejk-markdown-it@sil/markdown@sdoc/markdown-loader@shd101wyy/mume@songhn/hexo-renderer-markdown-it-plus@shiker/markdown-rendererjoplin-renderer@siteup/cli@simtropolis/kg-markdown-html-renderer@san-docit/markdown-loaderhexo-post-parserhexo-next-imarkdownhexo-renderer-adarenderhexo-renderer-markdownhexo-renderer-markdown-ithexo-renderer-markdown-it-jzjhexo-renderer-markdown-it-katexhexo-renderer-markdown-it-plushexo-renderer-multi-next-markdown-ithexo-super-renderhexo-renderersjungledrum@toanz/strapi-plugin-content-managerkoios-chat-widget@theori/vue-markdown@strapi/plugin-content-manager@thaleslabs/react-chat-widget@thebluedoc/editor@starzkg/vuepress-plugin-markdown-enhance
2.0.0

5 months ago

1.0.0

9 years ago

0.1.0

9 years ago