We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 812d1de commit 6b4f7f6Copy full SHA for 6b4f7f6
src/extension/extension.ts
@@ -158,10 +158,10 @@ export function projectExtensionPathResolver(
158
return (href: string, projectOffset: string) => {
159
const projectRelativeHref = relative(projectOffset, href);
160
161
- if (projectRelativeHref.startsWith("_extensions/")) {
+ if (projectRelativeHref.startsWith("_extensions/") || projectRelativeHref.startsWith("_extensions\\")) {
162
const projectTargetHref = projectRelativeHref.replace(
163
- /^_extensions\//,
164
- `${libDir}/quarto-contrib/quarto-project/`,
+ /^_extensions/,
+ `${libDir}/quarto-contrib/quarto-project`,
165
);
166
167
copyResourceFile(
0 commit comments