Whitespace-terminating (<sup>
)erscripts for the markdown-it parser
❗⠀This plugin belongs to a family of experimental features called Jotdoc: a "flavor" of Markdown aiming to maximize readability and extend markup for common use cases where verbose HTML is required.
If you're interested, please do share your thoughts and check out the monorepo!
(·
= whitespace )
|
x2 + ... |
If you want spaces in your terms, enclose w/ parenthesis:
|
Dm + n |
Compatible with conventional superscript syntax (^...^
)
const md = require('markdown-it')()
md.use(require('@jotdoc/sup'))