Fixed issues related to latest Pygments and Pymdown Extensions (#3862)

This commit is contained in:
Isaac Muse
2022-04-30 08:50:18 -06:00
committed by GitHub
parent d8d734d306
commit f7be5c75bb
3 changed files with 4 additions and 5 deletions

View File

@@ -179,8 +179,7 @@ export function mountCodeBlock(
/* Handle code annotations */
const container = el.closest([
":not(td):not(.code) > .highlight",
".highlighttable"
":not(td):not(.code) > .highlight"
].join(", "))
if (container instanceof HTMLElement) {
const list = findCandidateList(container)