Skip to content

Commit 55e7b2a

Browse files
committed
feat: add glightbox plugin
1 parent d49563a commit 55e7b2a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

mkdocs.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,19 @@ plugins:
6565
separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
6666
- tags:
6767
tags_file: tags.md
68+
- glightbox:
69+
touchNavigation: true
70+
loop: false
71+
effect: zoom
72+
slide_effect: slide
73+
width: auto
74+
height: auto
75+
zoomable: true
76+
draggable: true
77+
auto_caption: false
78+
caption_position: bottom
79+
background: white
80+
shadow: true
6881

6982
markdown_extensions:
7083
- pymdownx.superfences

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ sortedcontainers==2.4.0
44
urllib3==1.26.18
55
mkdocs-git-committers-plugin-2==2.2.3
66
mkdocs-material==9.5.13
7+
mkdocs-glightbox==0.3.7
78
jieba==0.42.1

0 commit comments

Comments
 (0)