* feat(image-zoom): add image zoom functionality and documentation - Introduced a new `imageZoom` parameter in the configuration to enable click-to-zoom for Markdown images. - Updated the `render-image.html` layout to support zoom functionality by adding a `data-zoomable` attribute to images. - Created a new `medium-zoom.html` script to handle the zoom effect, with options for CDN or local asset loading. - Enhanced documentation in `configuration.md` and `markdown.md` to guide users on enabling and configuring image zoom. * docs(image-zoom): add image zoom documentation in multiple languages - Added sections for image zoom functionality in Persian, Japanese, and Simplified Chinese documentation. - Included configuration examples for enabling and disabling image zoom in specific pages. - Updated related documentation to ensure consistency across languages.
21 lines
494 B
HTML
21 lines
494 B
HTML
{{/* Core scripts (theme, menu, tabs, etc.) */}}
|
|
{{- partial "scripts/core.html" . -}}
|
|
|
|
{{/* Search */}}
|
|
{{- partial "scripts/search.html" . -}}
|
|
|
|
{{/* Mermaid */}}
|
|
{{- if (.Store.Get "hasMermaid") -}}
|
|
{{- partial "scripts/mermaid.html" . -}}
|
|
{{- end -}}
|
|
|
|
{{/* Asciinema */}}
|
|
{{- if (.Store.Get "hasAsciinema") -}}
|
|
{{- partial "scripts/asciinema.html" . -}}
|
|
{{- end -}}
|
|
|
|
{{/* Medium Zoom */}}
|
|
{{- if (.Store.Get "hasImageZoom") -}}
|
|
{{- partial "scripts/medium-zoom.html" . -}}
|
|
{{- end -}}
|