mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 20:55:21 +00:00
Fix issue where callout icons would not be rendered
This commit is contained in:
parent
4edcab6f16
commit
71fc4b8d37
@ -21,6 +21,8 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
lucide.createIcons();
|
||||||
|
|
||||||
// Collapse callouts
|
// Collapse callouts
|
||||||
Array.from(document.querySelectorAll(".callout.is-collapsible")).forEach((elem) => {
|
Array.from(document.querySelectorAll(".callout.is-collapsible")).forEach((elem) => {
|
||||||
elem.querySelector('.callout-title').addEventListener("click", (event) => {
|
elem.querySelector('.callout-title').addEventListener("click", (event) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user