aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions/extra/tables.txt
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2011-06-29 11:32:01 -0400
committerWaylan Limberg <waylan@gmail.com>2011-06-29 11:32:01 -0400
commitd7a91be9a32c3aa539c39d4e801f127ea2cba7fe (patch)
tree3e6f66541aab38bac41f07a349cac3c03fa758d4 /tests/extensions/extra/tables.txt
parent8761cd1780a7cec6012354f79303f3ea488df7d9 (diff)
downloadmarkdown-d7a91be9a32c3aa539c39d4e801f127ea2cba7fe.tar.gz
markdown-d7a91be9a32c3aa539c39d4e801f127ea2cba7fe.tar.bz2
markdown-d7a91be9a32c3aa539c39d4e801f127ea2cba7fe.zip
Fixed #30. Tables now allow three spaces of indent like PHP Markdown Extra. Thanks to skurfer for report and inital patch.
Diffstat (limited to 'tests/extensions/extra/tables.txt')
-rw-r--r--tests/extensions/extra/tables.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/extensions/extra/tables.txt b/tests/extensions/extra/tables.txt
index 64917ab..cf97cb5 100644
--- a/tests/extensions/extra/tables.txt
+++ b/tests/extensions/extra/tables.txt
@@ -32,3 +32,21 @@ foo|bar|baz
| Q |
W | | W
+Three spaces in front of a table:
+
+ First Header | Second Header
+ ------------ | -------------
+ Content Cell | Content Cell
+ Content Cell | Content Cell
+
+ | First Header | Second Header |
+ | ------------ | ------------- |
+ | Content Cell | Content Cell |
+ | Content Cell | Content Cell |
+
+Four spaces is a code block:
+
+ First Header | Second Header
+ ------------ | -------------
+ Content Cell | Content Cell
+ Content Cell | Content Cell