aboutsummaryrefslogtreecommitdiff
path: root/tests/extensions/admonition.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extensions/admonition.txt')
-rw-r--r--tests/extensions/admonition.txt45
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/extensions/admonition.txt b/tests/extensions/admonition.txt
new file mode 100644
index 0000000..03ff4e9
--- /dev/null
+++ b/tests/extensions/admonition.txt
@@ -0,0 +1,45 @@
+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
+Not part of an Admonition!
+
+!!! mycustomcssclass "And now..."
+ For something completely different.
+
+ You can also use a custom CSS class name.
+
+!!! class1 class2 class3 "And now..."
+ For something completely different.
+
+ Several class names can be separated by space chars.
+
+!!! note anotherclass
+ The default title is the capitalized first class name.
+
+!!! tip ""
+ An explicitly empty string prevents the title from being rendered.
+
+No body:
+
+!!! note
+
+Extra whitespace after the title should not alter output:
+
+!!! note