Quote block
Making quote block by yourself
The plugin uses code blocks and special code block language (localquote
) to
represent your quote block. There are some settings those allow you to
configure quote block (required fields marked by *
):
id
* - any string or number for quote identification (1
,d2f
,my-quote1
).search
* - search query, may be only author's name, but you can use some operators too.refresh
- refresh interval, when this time passes plugin will update quote text with another random one (1m
,2d
,30s
)customClass
- class that can be added to parent div
```localquote
id 1
search Kamina, TTGL
refresh 10m
customClass my-quote-class another-class
```
Minimal setup:
```localquote
id dgnk
search Simon Figgle
```
More about refresh intervals
refresh
property uses custom moment.js like syntax. There are all possible variants (case-sensitive):
10s
- equals 10 seconds10m
- equals 10 minutes10h
- equals 10 hours2d
- equals 2 days2w
- equals 2 weeks2M
- equals 2 months1y
- equals 1 year