Add justify param
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
{{ $caption := .Get "caption" }}
|
||||
{{ $float := .Get "float" }}
|
||||
{{ $height := .Get "height" }}
|
||||
{{ $justify := .Get "justify" }}
|
||||
{{ $lang := .Get 0 | default (.Get "lang") | default "plaintext" }}
|
||||
{{ $maxheight := .Get "maxheight" }}
|
||||
{{ $maxwidth := .Get "maxwidth" }}
|
||||
@@ -17,6 +18,7 @@
|
||||
"float" $float
|
||||
"gap" 2
|
||||
"height" $height
|
||||
"justify" $justify
|
||||
"maxheight" $maxheight
|
||||
"maxwidth" $maxwidth
|
||||
"width" $width
|
||||
|
@@ -3,6 +3,7 @@
|
||||
{{ $content := .Inner | markdownify }}
|
||||
{{ $float := .Get "float" }}
|
||||
{{ $height := .Get "height" }}
|
||||
{{ $justify := .Get "justify" }}
|
||||
{{ $maxheight := .Get "maxheight" }}
|
||||
{{ $maxwidth := .Get "maxwidth" }}
|
||||
{{ $width := .Get "width" }}
|
||||
@@ -14,6 +15,7 @@
|
||||
"float" $float
|
||||
"gap" 2
|
||||
"height" $height
|
||||
"justify" $justify
|
||||
"maxheight" $maxheight
|
||||
"maxwidth" $maxwidth
|
||||
"width" $width
|
||||
|
@@ -3,6 +3,7 @@
|
||||
{{ $caption := .Get "caption" }}
|
||||
{{ $float := .Get "float" }}
|
||||
{{ $height := .Get "height" }}
|
||||
{{ $justify := .Get "justify" }}
|
||||
{{ $link := .Get "link" }}
|
||||
{{ $maxheight := .Get "maxheight" }}
|
||||
{{ $maxwidth := .Get "maxwidth" }}
|
||||
@@ -20,6 +21,7 @@
|
||||
"float" $float
|
||||
"gap" 2
|
||||
"height" $height
|
||||
"justify" $justify
|
||||
"link" $link
|
||||
"maxheight" $maxheight
|
||||
"maxwidth" $maxwidth
|
||||
|
@@ -3,6 +3,7 @@
|
||||
{{ $content := .Inner | markdownify }}
|
||||
{{ $float := .Get "float" }}
|
||||
{{ $height := .Get "height" }}
|
||||
{{ $justify := .Get "justify" }}
|
||||
{{ $maxheight := .Get "maxheight" }}
|
||||
{{ $maxwidth := .Get "maxwidth" }}
|
||||
{{ $width := .Get "width" }}
|
||||
@@ -15,6 +16,7 @@
|
||||
"content" $content
|
||||
"float" $float
|
||||
"height" $height
|
||||
"justify" $justify
|
||||
"maxheight" $maxheight
|
||||
"maxwidth" $maxwidth
|
||||
"width" $width
|
||||
|
Reference in New Issue
Block a user