
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
docusaurus-plugin-medium-zoom
Advanced tools
a medium-zoom plugin for docusaurus v2 and v3, refrence docusaurus-plugin-image-zoom.
npm install docusaurus-plugin-medium-zoom
# or
yarn add docusaurus-plugin-medium-zoom
# or
pnpm add docusaurus-plugin-medium-zoom
add the plugin in docusaurus.config.ts file:
// docusaurus.config.ts
import type { Config } from '@docusaurus/types'
import type { ThemeConfig, ZoomConfig } from 'docusaurus-plugin-medium-zoom'
export default {
// ...other config
plugins: [
'docusaurus-plugin-image-zoom'
// ...other plugins
],
themeConfig: {
// ...other themeConfig
zoom: { selector: '.markdown img', background: {
light: 'rgb(255, 255, 255)',
dark: 'rgb(50, 50, 50)',
}, config: {
// options you can specify via https://github.com/francoischalifour/medium-zoom#usage
} } satisfies ZoomConfig,
} satisfies ThemeConfig,
} as Config
| Option | Description | Default Value |
|---|---|---|
selector | (optional) The selector to use for the images to zoom. | .markdown img |
background | (optional) The background color to use for the zoomed image. | { light: 'rgb(255, 255, 255)', dark: 'rgb(50, 50, 50)' } |
config | (optional) The configuration object to pass to medium-zoom. | {} |
FAQs
medium-zoom plugin for docusaurus v2 and v3
We found that docusaurus-plugin-medium-zoom demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.