Whitespace-terminating (<sub>
)scripts 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 )
|
xn + ... |
If you want spaces in your terms, enclose w/ parenthesis:
|
Dtest #1 |
Compatible with conventional subscript syntax (~...~
)
const md = require('markdown-it')()
md.use(require('@jotdoc/sub'))