summaryrefslogtreecommitdiffstats
path: root/tests/test_sphinx/sourcedirs/includes/subfolder/include2.inc.md
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_sphinx/sourcedirs/includes/subfolder/include2.inc.md')
-rw-r--r--tests/test_sphinx/sourcedirs/includes/subfolder/include2.inc.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/test_sphinx/sourcedirs/includes/subfolder/include2.inc.md b/tests/test_sphinx/sourcedirs/includes/subfolder/include2.inc.md
new file mode 100644
index 0000000..a6eebcf
--- /dev/null
+++ b/tests/test_sphinx/sourcedirs/includes/subfolder/include2.inc.md
@@ -0,0 +1,21 @@
+## A Sub-Heading in Nested Include
+
+Some other text with **syntax**
+
+This relative path will refer to the importing file:
+
+```{figure} example1.jpg
+Caption
+```
+
+This absolute path will refer to the project root (where the `conf.py` is):
+
+```{figure} /subfolder/example2.jpg
+Caption
+```
+
+![alt](example2.jpg)
+
+![alt](https://example.com)
+
+[text](../index.md)