https://github.com/zbicin/hexo-gfycat
Gfycat embedding tag for hexo (https://hexo.io).
https://github.com/zbicin/hexo-gfycat
Last synced: 2 months ago
JSON representation
Gfycat embedding tag for hexo (https://hexo.io).
- Host: GitHub
- URL: https://github.com/zbicin/hexo-gfycat
- Owner: zbicin
- Created: 2017-10-31T12:14:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-29T22:41:05.000Z (almost 7 years ago)
- Last Synced: 2024-10-18T13:56:30.903Z (8 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hexo-gfycat
Gfycat embedding tag for [hexo](https://hexo.io). Install using: `npm i -S hexo-gfycat`.
## Syntax
`{% gfycat FunnyGfycatIdentifier fixed|responsive|js [width height] %}`
Wrapper types:
- `fixed` - fixed-size iframe,
- `responsive` - responsive iframe,
- `js` - JS embed.`width height` are optional and applicable only with `fixed` wrapper type.
When using `js` remember to include [gfycat.js](https://github.com/gfycat/gfycat.js) in your layout.
## Example:
`{% gfycat CourageousDiscreteDeinonychus fixed 320 240 %}`
translates to:
``
## Author
[@zbicin](https://twitter.com/zbicin)