From f4f734f239bb0270107caa36d401791a71ddb056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 1 Sep 2015 11:12:47 +0200 Subject: [PATCH] Add no-markdown variant Add test2.md page to show that shortcode syntax without Markdown rendering renders this case fine. Having shortcodes where the entire content is wrapped with `div` doesn't make sense to send through Blackfriday. See https://github.com/spf13/hugo/issues/1387 --- .gitignore | 1 + content/test2.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .gitignore create mode 100644 content/test2.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..364fdec --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public/ diff --git a/content/test2.md b/content/test2.md new file mode 100644 index 0000000..965ac23 --- /dev/null +++ b/content/test2.md @@ -0,0 +1,43 @@ +--- +date: 2015-08-30 +title: Test2 +layout: default +--- + +Before Container + +{{< container >}} + +begin container. + +before row + +{{< row >}} + +row content + +before columnand + +{{< column >}} + +Content column 1 + +{{< /column >}} + +between columsn + +{{< column >}} + +Content column 2 + +{{< /column >}} + +after column + +{{< /row >}} + +After row + +{{< /container >}} + +after container