From 4ca9f334cbb86fe7fec9dcbade2d0bdcebc5540a Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Wed, 5 Jan 2022 10:13:23 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20lead=20shortcode=20not=20r?= =?UTF-8?q?endering=20Markdown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #73 --- CHANGELOG.md | 4 ++++ layouts/shortcodes/lead.html | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4eed9191..53ee3d69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Fixed + +- `lead` shortcode not rendering Markdown formatted text ([#73](https://github.com/jpanther/congo/issues/73)) + ## [1.6.1] - 2021-12-31 ### Added diff --git a/layouts/shortcodes/lead.html b/layouts/shortcodes/lead.html index 0288cf11..4f3af18e 100644 --- a/layouts/shortcodes/lead.html +++ b/layouts/shortcodes/lead.html @@ -1,3 +1,3 @@ -

- {{ .Inner }} -

+
+ {{ .Inner | markdownify }} +