Change cite param to Markdown
This commit is contained in:
@@ -623,7 +623,7 @@ Parameters:
|
||||
|
||||
<dl>
|
||||
<dt><code>cite</code></dt>
|
||||
<dd>Optional. String. Plain text. Citation.</dd>
|
||||
<dd>Optional. String. Markdown. Citation.</dd>
|
||||
</dl>
|
||||
|
||||
Body: Required. String. Markdown. The quotation.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{{ $cite := .Get 0 | default (.Get "cite") }}
|
||||
{{ $cite := .Get 0 | default (.Get "cite") | markdownify }}
|
||||
{{ $content := trim .InnerDeindent "\f\n\r\v" | markdownify }}
|
||||
|
||||
{{ if not $content }}
|
||||
|
Reference in New Issue
Block a user