Files
hinode/data/structures/example.yml
2023-12-29 14:46:05 +01:00

34 lines
882 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

comment: >-
Display a code example and render a preview of the same input. The shortcode
accepts the languages supported by Hugo's highlight function.
arguments:
id:
type: string
optional: true
comment: Identifier of the elements container.
lang:
type: string
optional: true
default: markdown
comment: >-
Language used to display the code. Use `hugo` to process Hugo (escaped)
shortcodes.
show_markup:
type: bool
optional: true
default: true
comment: Indicates if the markup should be output in the HTML.
show_preview:
type: bool
optional: true
default: true
comment: Indicates if the preview should be output in the HTML.
class:
type: string
optional: true
comment: Class attributes of the element's container.
body:
type: string
optional: false
comment: The example input.