https://github.com/t-miracle/gitbook-plugin-img-layer
gitbook插件,用于点击图片或者图片链接来全屏展示图片
https://github.com/t-miracle/gitbook-plugin-img-layer
Last synced: 3 months ago
JSON representation
gitbook插件,用于点击图片或者图片链接来全屏展示图片
- Host: GitHub
- URL: https://github.com/t-miracle/gitbook-plugin-img-layer
- Owner: T-miracle
- Created: 2022-01-04T08:13:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-16T01:48:33.000Z (over 3 years ago)
- Last Synced: 2025-02-20T07:11:17.437Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 653 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gitbook图片插件
## 用途
通过点击图片或者链接来全屏显示图片
## 示例展示

## 安装方式
- 在gitbook的`book.json`中配置
```json
{
"plugins": [
"img-layer"
]
}
```- 简洁的图片链接方式:
使用 `{ !` 和 `}` (**正常使用没有空格**)包裹住图片的链接地址即可生成图片链接:
```
{! /images/imgLayerShow.gif}
```