Skip to content

Commit

Permalink
Add no-markdown variant
Browse files Browse the repository at this point in the history
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 gohugoio/hugo#1387
  • Loading branch information
bep committed Sep 1, 2015
1 parent 58b4a9f commit f4f734f
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public/
43 changes: 43 additions & 0 deletions content/test2.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f4f734f

Please sign in to comment.