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 54f924c commit 26d72d0Copy full SHA for 26d72d0
src/rmarkdown/knit.ts
@@ -137,7 +137,7 @@ export class RMarkdownKnitManager extends RMarkdownManager {
137
// precedence:
138
// knit > site > configuration
139
if (yamlParams?.['knit']) {
140
- const knitParam = yamlParams['knit'];
+ const knitParam = yamlParams['knit'].trim();
141
knitCommand = outputFormat ?
142
`${knitParam}(${docPath}, output_format = '${outputFormat}')` :
143
`${knitParam}(${docPath})`;
0 commit comments