Skip to content

2.0.0

Compare
Choose a tag to compare
@wooorm wooorm released this 25 Aug 09:01
· 54 commits to main since this release
cd6b611
  • 6a02049 Change math to a function that returns an extension
     import {math, mathHtml} from 'micromark-extension-math'
    
     const output = micromark(fs.readFileSync('example.md'), {
    -  extensions: [math],
    +  extensions: [math()],
       htmlExtensions: [mathHtml()]
     })
  • 522b6e1 Add singleDollarTextMath option