From 6aa95d5378eebd99c748e11b0715f9f5eee5fd59 Mon Sep 17 00:00:00 2001 From: Foster Hangdaan Date: Sat, 14 Sep 2024 08:29:15 -0400 Subject: [PATCH] Move comment nearer to its block --- _config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_config.ts b/_config.ts index 2c68a35..ac9c120 100644 --- a/_config.ts +++ b/_config.ts @@ -77,10 +77,10 @@ site.use(footnotes()); site.process([".html"], (pages) => { pages.forEach((page) => { - // NOTE: This is a hack to append a class to JS doctrings so that we - // can style them. If only the Hightlight.js plugin could be configured - // to do this instead. if (page.document) { + // NOTE: This is a hack to append a class to JS doctrings so that we + // can style them. If only the Hightlight.js plugin could be configured + // to do this instead. for ( const codeCommentElement of page.document.getElementsByClassName( "hljs-comment",