@actinc/docusaurus-plugin-panzoom
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@actinc/docusaurus-plugin-panzoom

This plugin adds the ability to pan and zoom images and SVG images inside of a docusaurus website. This is useful for embedding diagrams or complex mermaid.js renders around models and object schemas. The normal theme doesn't scale tremendously well in a browser so some augmentation for complex diagrams is necessary.

This implements the excellent @panzoom/panzoom plugin

Installation

npm install docusaurus-plugin-panzoom
// In docusaurus.config.js
// ...
plugins: ['docusaurus-plugin-panzoom'],
// or
plugins: [['docusaurus-plugin-panzoom', {} /* options */]],

Configuration

Package Sidebar

Install

npm i @actinc/docusaurus-plugin-panzoom

Weekly Downloads

117

Version

1.0.1

License

MIT

Unpacked Size

9.83 kB

Total Files

12

Last publish

Collaborators

  • robertsk
  • stefan.solyom
  • joncursi