Format simple inline fractions (markdown-it plugin)
❗⠀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!
Up to 2 digits in the numerator/denominator:
(·
= whitespace )
|
1⁄16 |
const md = require('markdown-it')()
md.use(require('@jotdoc/fracs'))