Skip to content

Releases: LolipopJ/mdimg

1.4.3

24 Sep 07:51
Compare
Choose a tag to compare

Full Changelog: 1.4.2...1.4.3


Fix

  • Fix param for min-height of output image. You can pass height param to set the min-height of output image correctly now.

1.4.2

17 Sep 17:36
Compare
Choose a tag to compare

Full Changelog: 1.4.0...1.4.2


Features

  • Enable to configuration extensions. Control the behaviors of extensions in your rendering.

1.4.0

15 Sep 13:34
Compare
Choose a tag to compare

Full Changelog: 1.3.0...1.4.0


Features

  • Support some extended syntaxes. The mdimg can parse and render LaTeX, MathML, AsciiMath and Mermaid syntax document now! (#10)
  • Enable to load local files. The mdimg will try to create local temporary HTML document for puppeteer to render, in this case, local files like images can display correctly. (#10)

Chore

  • Update preview images with extended markdown source.

1.3.0

09 Aug 09:34
Compare
Choose a tag to compare

Full Changelog: 1.2.0...1.3.0


Features

  • Add new encoding type blob. It do the same thing as encoding type binary without generating image file to disk. (#1)
  • Compatible with CLI standard output. The mdimg will correctly redirect runtime logs to stderr and output to stdout.

Test

  • Add more test cases.

1.2.0

09 Aug 04:24
Compare
Choose a tag to compare

Full Changelog: 1.1.2...1.2.0


⚠ Breaking Changes

  • Since puppeteer^23.0.0 (#12823), the screenshot api use Uint8Array instead of Buffer for browser compatibility. The type of generated result while using binary encoding is Uint8Array now.

Styles

  • No longer specify version of CSS preset. Template will always load the latest version of CSS preset.

Build

  • Fix rollup configs to generate CSS files correctly.