试图修复md转html显示问题
This commit is contained in:
@@ -26,11 +26,6 @@
|
||||
securityLevel: 'loose',
|
||||
startOnLoad: true
|
||||
});
|
||||
let observer = new MutationObserver(mutations => {
|
||||
for (let mutation of mutations) {
|
||||
mutation.target.style.visibility = "visible";
|
||||
}
|
||||
});
|
||||
// ***** 修改这里的选择器 *****
|
||||
document.querySelectorAll("pre.mermaid").forEach(item => {
|
||||
observer.observe(item, {
|
||||
|
||||
Reference in New Issue
Block a user