summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-intl/only.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roots/test-intl/only.txt')
-rw-r--r--tests/roots/test-intl/only.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/roots/test-intl/only.txt b/tests/roots/test-intl/only.txt
new file mode 100644
index 0000000..2c8990e
--- /dev/null
+++ b/tests/roots/test-intl/only.txt
@@ -0,0 +1,14 @@
+Only directive
+--------------
+
+.. only:: html
+
+ In HTML.
+
+.. only:: latex
+
+ In LaTeX.
+
+.. only:: html or latex
+
+ In both.