Skip to content

Commit 7fecd6d

Browse files
committed
Merge branch 'main' of github.com:quarto-dev/quarto-cli into main
2 parents a7dcec5 + b5c0e9e commit 7fecd6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/project/types/website/website.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ export const websiteProjectType: ProjectType = {
191191
const listingPostProcessor =
192192
htmlListingDependencies[kHtmlPostprocessors];
193193
if (listingPostProcessor) {
194-
extras.html[kHtmlPostprocessors]?.push(listingPostProcessor);
194+
// Process listings early so if we inject content div, navigation and other
195+
// elements will wrap around
196+
extras.html[kHtmlPostprocessors]?.unshift(listingPostProcessor);
195197
}
196198

197199
const listingAfterBody = htmlListingDependencies[kMarkdownAfterBody];

0 commit comments

Comments
 (0)