Change cite param to Markdown

This commit is contained in:
Will Faught
2025-02-23 11:18:42 -08:00
parent 50448886dc
commit 1e5e5435b0
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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 }}