mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-21 20:50:40 +00:00
Robert Kaussow
2f01b4b903
BREAKING CHANGE: The `size=profile` option was removed from the `img` shortcode. To create avatar images the new `avatar` shortcode can be used.
20 lines
731 B
YAML
20 lines
731 B
YAML
---
|
|
properties:
|
|
- name: file
|
|
type: string
|
|
description: Path of the file (relative to the Hugo root) to include.
|
|
required: true
|
|
- name: language
|
|
type: string
|
|
description: Language for [syntax highlighting](https://gohugo.io/content-management/syntax-highlighting/#list-of-chroma-highlighting-languages).
|
|
required: false
|
|
- name: type
|
|
type: string
|
|
description: Special include type. Supported values are `html|page`. If not set the included file is rendered as markdown.
|
|
required: false
|
|
- name: options
|
|
type: bool
|
|
description: highlighting [options](https://gohugo.io/content-management/syntax-highlighting/#highlight-shortcode).
|
|
required: false
|
|
defaultValue: linenos=table
|