mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed issues related to latest Pygments and Pymdown Extensions (#3862)
This commit is contained in:
parent
d8d734d306
commit
f7be5c75bb
@ -23,5 +23,5 @@ jinja2>=2.11.1
|
||||
markdown>=3.2
|
||||
mkdocs>=1.3.0
|
||||
mkdocs-material-extensions>=1.0.3
|
||||
pygments>=2.10,<2.12
|
||||
pymdown-extensions>=9.0,<9.4
|
||||
pygments>=2.12
|
||||
pymdown-extensions>=9.4
|
||||
|
@ -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)
|
||||
|
@ -188,7 +188,7 @@
|
||||
// previous (now deprecated) SuperFences code block grouping behavior
|
||||
> pre:first-child,
|
||||
> .highlight:first-child > pre:first-child,
|
||||
> .highlighttable:first-child {
|
||||
> .highlight:first-child > .highlighttable {
|
||||
margin: 0;
|
||||
|
||||
// Remove rounded borders
|
||||
|
Loading…
Reference in New Issue
Block a user