aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions/extra/raw-html.txt
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2013-10-14 15:31:49 -0700
committerWaylan Limberg <waylan@gmail.com>2013-10-14 15:31:49 -0700
commitd700d0a243b3e461f2e9ff189137be31c15972f4 (patch)
treec9b329436683582b18e219b5061f9a84ec7f718d /tests/extensions/extra/raw-html.txt
parent191d88b26c6bcb1cd9f66cb3a115e106366d1a55 (diff)
parentdaa2d46b567e67aa4578a5c26a7d92e4cf5abc81 (diff)
downloadmarkdown-d700d0a243b3e461f2e9ff189137be31c15972f4.tar.gz
markdown-d700d0a243b3e461f2e9ff189137be31c15972f4.tar.bz2
markdown-d700d0a243b3e461f2e9ff189137be31c15972f4.zip
Merge pull request #260 from ryneeverett/master
Issue #52 Patch -- Markdown Inside HTML Blocks
Diffstat (limited to 'tests/extensions/extra/raw-html.txt')
-rw-r--r--tests/extensions/extra/raw-html.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/extensions/extra/raw-html.txt b/tests/extensions/extra/raw-html.txt
index 284fe0c..e906910 100644
--- a/tests/extensions/extra/raw-html.txt
+++ b/tests/extensions/extra/raw-html.txt
@@ -9,4 +9,38 @@ _bar_
_blah_
</div>
+
+<div markdown="1" name="Example">
+The text of the `Example` element.
+
+<div markdown="1" name="DefaultBlockMode">
+This text gets wrapped in `p` tags.
+</div>
+
+The tail of the `DefaultBlockMode` subelement.
+
+<p markdown="1" name="DefaultSpanMode">
+This text *is not* wrapped in additional `p` tags.
+</p>
+
+The tail of the `DefaultSpanMode` subelement.
+
+<div markdown="span" name="SpanModeOverride">
+This `div` block is not wrapped in paragraph tags.
+Note: Subelements are not required to have tail text.
+</div>
+
+<p markdown="block" name="BlockModeOverride">
+This `p` block *is* foolishly wrapped in further paragraph tags.
+</p>
+
+The tail of the `BlockModeOverride` subelement.
+
+<div name="RawHtml">
+Raw html blocks may also be nested.
+</div>
+
+</div>
+
+This text is after the markdown in html.