From 1e5e5435b0d274be93af9b97eb90789e129be3b5 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 23 Feb 2025 11:18:42 -0800 Subject: [PATCH] Change cite param to Markdown --- README.md | 2 +- layouts/shortcodes/paige/quote.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ffc19abf..d8bb2c69 100644 --- a/README.md +++ b/README.md @@ -623,7 +623,7 @@ Parameters:
cite
-
Optional. String. Plain text. Citation.
+
Optional. String. Markdown. Citation.
Body: Required. String. Markdown. The quotation. diff --git a/layouts/shortcodes/paige/quote.html b/layouts/shortcodes/paige/quote.html index 88458929..29e9ade5 100644 --- a/layouts/shortcodes/paige/quote.html +++ b/layouts/shortcodes/paige/quote.html @@ -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 }}