summaryrefslogtreecommitdiffstats
path: root/tests/test_sphinx/test_sphinx_builds/test_substitutions.xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:23:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:23:02 +0000
commit943e3dc057eca53e68ddec51529bd6a1279ebd8e (patch)
tree61fb7bac619a56dfbcdcbdb7b0d4d6535fc36fe9 /tests/test_sphinx/test_sphinx_builds/test_substitutions.xml
parentInitial commit. (diff)
downloadmyst-parser-upstream.tar.xz
myst-parser-upstream.zip
Adding upstream version 0.18.1.upstream/0.18.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/test_sphinx/test_sphinx_builds/test_substitutions.xml')
-rw-r--r--tests/test_sphinx/test_sphinx_builds/test_substitutions.xml55
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/test_sphinx/test_sphinx_builds/test_substitutions.xml b/tests/test_sphinx/test_sphinx_builds/test_substitutions.xml
new file mode 100644
index 0000000..9a63ee2
--- /dev/null
+++ b/tests/test_sphinx/test_sphinx_builds/test_substitutions.xml
@@ -0,0 +1,55 @@
+<document source="index.md">
+ <paragraph>
+ output with
+ <emphasis>
+ Markdown
+
+ nested substitution
+ <paragraph>
+ prefix
+ <note>
+ <paragraph>
+ A note
+ nested substitution
+ <paragraph>
+ a
+ - text
+ b
+ <paragraph>
+ c
+ output with
+ <emphasis>
+ Markdown
+
+ nested substitution
+
+ d
+ <paragraph>
+ e
+ <note>
+ <paragraph>
+ Inline note
+ f
+ <paragraph>
+ This was from the conf
+ <paragraph>
+ Overridden by front matter
+ <paragraph>
+ This will process the substitution
+ <literal_block xml:space="preserve">
+ output with
+ <emphasis>
+ Markdown
+
+ nested substitution
+
+ <paragraph>
+ This will not process the substitution
+ <literal_block language="python" xml:space="preserve">
+ {{ text_with_nest }}
+ <paragraph>
+ Using env and filters:
+ <paragraph>
+ INDEX
+ <compound classes="toctree-wrapper">
+ <toctree caption="True" entries="(None,\ 'other')" glob="False" hidden="False" includefiles="other" includehidden="False" maxdepth="-1" numbered="0" parent="index" rawentries="" titlesonly="False">