Add missing size params

This commit is contained in:
Will Faught
2023-01-15 21:44:32 -08:00
parent c7efb3aaf4
commit 63de63bc2a

View File

@@ -1,8 +1,12 @@
{{ $align := .Get "align" }}
{{ $caption := .Get "caption" }}
{{ $float := .Get "float" }}
{{ $height := .Get "height" }}
{{ $lang := .Get 0 | default (.Get "lang") | default "plaintext" }}
{{ $maxheight := .Get "maxheight" }}
{{ $maxwidth := .Get "maxwidth" }}
{{ $options := .Get "options" }}
{{ $width := .Get "width" }}
{{ $content := highlight (.Inner | replaceRE "^\n" "") $lang $options }}
@@ -11,4 +15,8 @@
"caption" $caption
"content" $content
"float" $float
"height" $height
"maxheight" $maxheight
"maxwidth" $maxwidth
"width" $width
) }}