remark-mermaidjs

A remark plugin to render mermaid diagrams using playwright

MIT License

Downloads
12.3K
Stars
67
Committers
3

Bot releases are hidden (Show)

remark-mermaidjs - Latest Release

Published by remcohaszing about 1 year ago

  • Update to unified 11.
  • Remove support for Node.js 16.
  • Return synchronously if there are no diagrams to process.
remark-mermaidjs -

Published by remcohaszing about 1 year ago

  • Fix package exports.
remark-mermaidjs -

Published by remcohaszing over 1 year ago

  • Fix publishing.
remark-mermaidjs -

Published by remcohaszing over 1 year ago

Warning: You should no longer use this project. Use rehype-mermaidjs instead.

  • Drop support for Node.js 14.
  • The plugin is now asynchronous in the browser. It already was in Node.js.
  • Remove support for minification using SVGO, as it was unstable.
  • mermaidOptions has been renamed to mermaidConfig.
  • Use mermaid-isomorphic, meaning:
    • This project now uses Mermaid 10
    • This project now uses Playwright instead of Puppeteer.
    • Rendering is much more stable.
    • Options have been aligned with mermaid-isomorphic.
remark-mermaidjs - v4.1.1

Published by remcohaszing almost 2 years ago

What's Changed

  • Include shared.js in the package build.

Full Changelog: https://github.com/remcohaszing/remark-mermaidjs/compare/v4.1.0...v4.1.1

remark-mermaidjs - v4.1.0

Published by remcohaszing almost 2 years ago

What's Changed

Full Changelog: https://github.com/remcohaszing/remark-mermaidjs/compare/v4.0.0...v4.1.0

remark-mermaidjs -

Published by remcohaszing almost 2 years ago

  • Update to puppeteer-core@19.
  • Update to svgo@3.
  • Remove @types/svgo, since svgo now ship their own type definitions.
  • Remove @types/mermaid, since mermaid now ship their own type definitions.
  • Use default SVGO options.
  • Instead of null, use false to disable SVG minification.
remark-mermaidjs -

Published by remcohaszing about 2 years ago

  • Add browser support
remark-mermaidjs -

Published by remcohaszing about 2 years ago

  • Use ESM.
  • Update dependencies.
  • Replace puppeteer with puppeteer-core.
    As a result executablePath is now required.
  • Replace theme option with mermaidOptions.
remark-mermaidjs -

Published by remcohaszing almost 3 years ago

  • Disable SVGO multipass option
remark-mermaidjs -

Published by remcohaszing almost 3 years ago

  • Update dependencies
remark-mermaidjs - v2.0.0

Published by remcohaszing over 3 years ago

  • Update puppeteer to >=8
  • Updad svgo to ^2.2.2
remark-mermaidjs - v1.2.0

Published by remcohaszing over 3 years ago

  • Add rehype compatibility
remark-mermaidjs - v1.1.0

Published by remcohaszing over 3 years ago

  • Share the browser instance if multiple files are being processed simultaneously.
remark-mermaidjs - v1.0.0

Published by remcohaszing over 3 years ago

Initial release