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 0a73f3d commit b5c0e9eCopy full SHA for b5c0e9e
src/project/types/website/website.ts
@@ -191,7 +191,9 @@ export const websiteProjectType: ProjectType = {
191
const listingPostProcessor =
192
htmlListingDependencies[kHtmlPostprocessors];
193
if (listingPostProcessor) {
194
- extras.html[kHtmlPostprocessors]?.push(listingPostProcessor);
+ // Process listings early so if we inject content div, navigation and other
195
+ // elements will wrap around
196
+ extras.html[kHtmlPostprocessors]?.unshift(listingPostProcessor);
197
}
198
199
const listingAfterBody = htmlListingDependencies[kMarkdownAfterBody];
0 commit comments