Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matcornic/hugo-theme-learn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJian <jianloongliew@gmail.com>2019-10-06 14:32:21 +0300
committerMatthew Taylor <matalo33@users.noreply.github.com>2020-02-02 01:58:17 +0300
commit3ea5bca755842321ad3ec1a2b706c630bc9b6d39 (patch)
treea20706a21f41fbedcfe92d44f531cdeee04051c5 /exampleSite
parentbed0a6c0d032cd3bc73ceeeead07f90a02c9721a (diff)
Added flag to turn off image featherlight
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/cont/markdown.en.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/exampleSite/content/cont/markdown.en.md b/exampleSite/content/cont/markdown.en.md
index b961bcd..c4ff55f 100644
--- a/exampleSite/content/cont/markdown.en.md
+++ b/exampleSite/content/cont/markdown.en.md
@@ -663,3 +663,11 @@ Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow`and
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow)
```
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow)
+
+### Lightbox
+
+Add a HTTP `featherlight` parameter to the link image to disable lightbox. By default lightbox is enabled using the featherlight.js plugin. You can disable this by defining `featherlight` to `false`.
+
+```markdown
+![Minion](https://octodex.github.com/images/minion.png?featherlight=false)
+```