From 4921b7809364aabf1218d50bb0f76b1834db3281 Mon Sep 17 00:00:00 2001 From: Jack Hickey <133868041+nginx-jack@users.noreply.github.com> Date: Thu, 3 Apr 2025 16:37:21 +0100 Subject: [PATCH] Callout: Revert change to note callout --- exampleSite/content/test-product/call-out/all-callouts.md | 7 ++++++- layouts/shortcodes/note.html | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/test-product/call-out/all-callouts.md b/exampleSite/content/test-product/call-out/all-callouts.md index 82c4cc17..db1bb522 100644 --- a/exampleSite/content/test-product/call-out/all-callouts.md +++ b/exampleSite/content/test-product/call-out/all-callouts.md @@ -62,4 +62,9 @@ This is a Warning callout. There was previously a bug with **bold text** that we {{}} This is a Warning callout with a custom title. There was previously a bug with **bold text** that we should be aware of and continue to check for. This callout was invoked with the `` shortcode with the `.warning` class, and a custom title. -{{}} \ No newline at end of file +{{}} + + +{{}} +This is a note. In oldframe it should have `note:` in bold, at the start. +{{}} \ No newline at end of file diff --git a/layouts/shortcodes/note.html b/layouts/shortcodes/note.html index 7c096dd8..95b0ebf2 100644 --- a/layouts/shortcodes/note.html +++ b/layouts/shortcodes/note.html @@ -1,3 +1,3 @@
-
{{ .Inner | markdownify }}
+
Note:
{{ .Inner | markdownify }}