Skip to content

Commit 4a7d2a4

Browse files
committed
fix: don't nest callout
quarto-dev/quarto-cli#1112
1 parent 3c5538d commit 4a7d2a4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/authoring/includes.qmd

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ To include a file, add the `{{{< include >}}}` shortcode at the location in your
1515
::: callout-important
1616

1717
Include shortcodes are equivalent to copying and pasting the text from the included file into the main file.
18-
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-
20-
::: {.callout-tip}
18+
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.
2119
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 >}}`.
22-
:::
2320

2421
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.
2522

0 commit comments

Comments
 (0)