metadata after including .qmd files in other qmd files #2959
-
Hi, when I include a file |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yes, this is expected behavior. As described in the documentation, The recommended workaround is to not |
Beta Was this translation helpful? Give feedback.
Yes, this is expected behavior. As described in the documentation,
include
works literally: it behaves as if the entire contents of the file were pasted at the site of theinclude
shortcode. This means that if you include a file with metadata, you get multiple blocks, and pandoc interprets multiple blocks in this way.The recommended workaround is to not
include
a.qmd
file with metadata, but rather toinclude
a.md
file without metadata.