Skip to content

Commit 2b5e8cc

Browse files
authored
Add drkmd-js toggle
1 parent 39d4fc1 commit 2b5e8cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
<script src="https://cdn.jsdelivr.net/npm/drkmd-js/dist/drkmd-js.min.js"></script>
2+
<script>
3+
function addDarkmode() {
4+
new Darkmode().attach();
5+
}
6+
window.addEventListener('load', addDarkmode);
7+
</script>
8+
19
<p align="center">
210
<img src="https://cdn.mxis.ch/assets/drkmd-js/moon.png" title="drkmd.js icon" alt="icon" width="128">
311
</p>

0 commit comments

Comments
 (0)