We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79b7b63 commit 3980cfbCopy full SHA for 3980cfb
1 file changed
src/command/render/filters.ts
@@ -607,7 +607,11 @@ async function quartoFilterParams(
607
}
608
const shortcodes = format.render[kShortcodes];
609
if (shortcodes !== undefined) {
610
- params[kShortcodes] = shortcodes;
+ params[kShortcodes] = shortcodes.map((p) => {
611
+ if (p.startsWith("/")) {
612
+ return resolve(join(options.project.dir, p));
613
+ }
614
+ });
615
616
const extShortcodes = await extensionShortcodes(options);
617
if (extShortcodes) {
0 commit comments