aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions
diff options
context:
space:
mode:
authorTiago Serafim <tserafim@gmail.com>2012-09-02 20:12:53 -0300
committerTiago Serafim <tserafim@gmail.com>2012-09-02 20:12:53 -0300
commit83382bcefb246f1169b0d01375fcd86cd05b031e (patch)
tree0c58778e87702449f400cedd38e4de130d1a25d5 /tests/extensions
parent0794f32333bcf9d15f782899538386242c37921e (diff)
downloadmarkdown-83382bcefb246f1169b0d01375fcd86cd05b031e.tar.gz
markdown-83382bcefb246f1169b0d01375fcd86cd05b031e.tar.bz2
markdown-83382bcefb246f1169b0d01375fcd86cd05b031e.zip
Initial version with insufficient tests and no docs.
Diffstat (limited to 'tests/extensions')
-rw-r--r--tests/extensions/admonition.html19
-rw-r--r--tests/extensions/admonition.txt17
-rw-r--r--tests/extensions/test.cfg3
3 files changed, 39 insertions, 0 deletions
diff --git a/tests/extensions/admonition.html b/tests/extensions/admonition.html
new file mode 100644
index 0000000..f28bcfd
--- /dev/null
+++ b/tests/extensions/admonition.html
@@ -0,0 +1,19 @@
+<p>Some text</p>
+<div class="admonition note">
+<p class="admonition-title">Note</p>
+<p>A normal paragraph here</p>
+<ol>
+<li>first</li>
+<li>second</li>
+</ol>
+</div>
+<p>More text and stuff.</p>
+<div class="admonition note">
+<p class="admonition-title">Did you know?</p>
+<p>You can customize the title of the admonition</p>
+</div>
+<div class="admonition mycustomcssclass">
+<p class="admonition-title">And now...</p>
+<p>For something completely different.</p>
+<p>You can also use a custom CSS class name.</p>
+</div> \ No newline at end of file
diff --git a/tests/extensions/admonition.txt b/tests/extensions/admonition.txt
new file mode 100644
index 0000000..e8db239
--- /dev/null
+++ b/tests/extensions/admonition.txt
@@ -0,0 +1,17 @@
+Some text
+
+!!! note
+ A normal paragraph here
+
+ 1. first
+ 2. second
+
+More text and stuff.
+
+!!! note "Did you know?"
+ You can customize the title of the admonition
+
+!!! mycustomcssclass "And now..."
+ For something completely different.
+
+ You can also use a custom CSS class name.
diff --git a/tests/extensions/test.cfg b/tests/extensions/test.cfg
index ac8a747..e83aa62 100644
--- a/tests/extensions/test.cfg
+++ b/tests/extensions/test.cfg
@@ -29,3 +29,6 @@ extensions=fenced_code
[sane_lists]
extensions=sane_lists
+
+[admonition]
+extensions=admonition