Skip to content

Commit 34e72c0

Browse files
mcanouilgithub-actions[bot]
authored andcommitted
fix: add image example
(cherry picked from commit b6272c2)
1 parent d0a474c commit 34e72c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/authoring/includes.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To include a file, add the `{{{< include >}}}` shortcode at the location in your
1616

1717
Include shortcodes are equivalent to copying and pasting the text from the included file into the main file.
1818
This means that relative references (links, images, etc.) inside the included file resolve based on the directory of the main file not the included file.
19-
Use absolute (to the project root) paths for links and images in included files to ensure they resolve correctly, *e.g.*, `{{< include /path/to/file.qmd >}}`.
19+
Use absolute (to the project root) paths for links and images in included files to ensure they resolve correctly, *e.g.*, `[A Figure Reused](/path/to/image.png)` or `{{< include /path/to/file.qmd >}}`.
2020

2121
It also means that if the included file has a metadata block, that block will take effect in all included files. In most cases, having metadata blocks in an included file will cause unexpected behavior.
2222

0 commit comments

Comments
 (0)