Rewrite Mermaid and KaTeX to be usable both from shorcode and code block, update dependencies

This commit is contained in:
Alex Shpak
2025-08-01 13:42:59 +02:00
parent cfdff18686
commit 523b80fdb4
10 changed files with 619 additions and 337 deletions
+1 -2
View File
@@ -158,7 +158,6 @@
direction: ltr;
unicode-bidi: embed;
border-radius: $border-radius;
overflow: hidden;
table tr {
td pre code > span {
@@ -214,7 +213,7 @@
}
.markdown-inner {
// Util class to remove extra margin in nested markdown content
// Utility class to remove extra margin in nested markdown content
> :first-child {
margin-top: 0;
}
+7
View File
@@ -0,0 +1,7 @@
{
"delimiters": [
{"left": "$$", "right": "$$", "display": true},
{"left": "\\(", "right": "\\)", "display": false},
{"left": "\\[", "right": "\\]", "display": true}
]
}