mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-22 13:53:43 -04:00
Simplified code block mounting
This commit is contained in:
@@ -178,9 +178,7 @@ export function mountCodeBlock(
|
||||
}
|
||||
|
||||
/* Handle code annotations */
|
||||
const container = el.closest([
|
||||
":not(td):not(.code) > .highlight"
|
||||
].join(", "))
|
||||
const container = el.closest(".highlight")
|
||||
if (container instanceof HTMLElement) {
|
||||
const list = findCandidateList(container)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user