feat: auto-load custom svg sprites from assets folder (#79)
BREAKING CHANGE: Build-in icons are prefixed with `gdoc_` now. If you use build-in icons in e.g. menus you have to rename these references!
This commit is contained in:
parent
f228c1b2c2
commit
5e105c9ff4
29 changed files with 688 additions and 39 deletions
|
@ -8,16 +8,16 @@ Include shortcode can include files of different types. By specifying a language
|
|||
|
||||
Attributes:
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
| Name | Usage | default |
|
||||
|---|---|---|
|
||||
| file | path to the included file relative to the hugo root | empty value |
|
||||
| language* | language for [syntax highlighting](https://gohugo.io/content-management/syntax-highlighting/#list-of-chroma-highlighting-languages) | empty value |
|
||||
| markdown | included file is markdown | false |
|
||||
| options | highlighting [options](https://gohugo.io/content-management/syntax-highlighting/#highlight-shortcode) | linenos=table |
|
||||
| Name | Usage | default |
|
||||
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------- |
|
||||
| file | path to the included file relative to the hugo root | empty value |
|
||||
| language\* | language for [syntax highlighting](https://gohugo.io/content-management/syntax-highlighting/#list-of-chroma-highlighting-languages) | empty value |
|
||||
| markdown | included file is markdown | false |
|
||||
| options | highlighting [options](https://gohugo.io/content-management/syntax-highlighting/#highlight-shortcode) | linenos=table |
|
||||
|
||||
\* if not set, the content will be rendered as plain HTML
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
### Include \*.yml file with options
|
||||
|
||||
```tpl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue