docsifyjs / docsifyjs/docsify

zoom-image plugin: Add support 'data-zoom-src' attribute of 'medium-zoom'

Open
#682 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
31.5k
Forks
5.8k
Avg merge
9d 8h
Merged PRs (30d)
2

Description

Enhancement request.

[medium-zoom](https://github.com/francoischalifour/medium-zoom) library can handle `data-zoom-src` attribute of images which allows to specify a HD image which will be displayed when a zoom is opened ([docs](https://github.com/francoischalifour/medium-zoom#data-zoom-src)).

Please add a some configuration option for an image in Docsify to pass the attribute to 'medium-zoom' library. It might be something like `:zoom-src`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.