diff options
author | Waylan Limberg <waylan@gmail.com> | 2013-02-10 11:47:43 -0800 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2013-02-10 11:47:43 -0800 |
commit | 5eebfc371fbb92f0b7364c582ee21cfe35e61a74 (patch) | |
tree | cac5cc1548af1d8025de4d21f24e8e472d167feb /tests/extensions/admonition.txt | |
parent | 41cc055580d63ffb7eb2bbb6c88e121727d91d06 (diff) | |
parent | f78dcbedf94baa17392dafd5bb08c47d2a57ba74 (diff) | |
download | markdown-5eebfc371fbb92f0b7364c582ee21cfe35e61a74.tar.gz markdown-5eebfc371fbb92f0b7364c582ee21cfe35e61a74.tar.bz2 markdown-5eebfc371fbb92f0b7364c582ee21cfe35e61a74.zip |
Merge pull request #140 from slig/admonition
Admonitions: Initial version. This is still considered beta and subject to change. Thanks for all the work @slig.
Diffstat (limited to 'tests/extensions/admonition.txt')
-rw-r--r-- | tests/extensions/admonition.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/extensions/admonition.txt b/tests/extensions/admonition.txt new file mode 100644 index 0000000..fd18bd6 --- /dev/null +++ b/tests/extensions/admonition.txt @@ -0,0 +1,28 @@ +Some text + +!!! note + A normal paragraph here + + 1. first + 2. second + + > Some important quote + + > another paragraph in the quote + + int main() { + // insert some code + } + +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. + +!!! tip "" + An explicitly empty string prevents the title from being rendered. |