Releases: syntax-tree/mdast-util-math
Releases · syntax-tree/mdast-util-math
3.0.0
Change
- d4c6b85 de24bc1 Update
@types/mdast
, mdast utilities
migrate: update too - ae8eff7 Change to require Node.js 16
migrate: update too - 15b3e8e Change to use
pre
,code
elements in HTML
migrate: expect the same output as```math
- 6259200 Change to use
exports
migrate: don’t use private APIs - febf08a Change to remove
complex-types
migrate: use main module
Full Changelog: 2.0.2...3.0.0
2.0.2
2.0.1
2.0.0
- f0e0c1c Change exports to functions that return extensions
const tree = fromMarkdown(doc, { - extensions: [math], - mdastExtensions: [mathFromMarkdown] + extensions: [math()], + mdastExtensions: [mathFromMarkdown()] }) ... -const out = toMarkdown(tree, {extensions: [mathToMarkdown]}) +const out = toMarkdown(tree, {extensions: [mathToMarkdown()]})
- 31360ab Add
singleDollarTextMath
option