mirror of
https://github.com/Ellpeck/ObsidianJustSharePlease.git
synced 2024-05-20 02:01:22 +02:00
Compare commits
2 commits
b680280ee3
...
dcfe7e6f3d
Author | SHA1 | Date | |
---|---|---|---|
Ell | dcfe7e6f3d | ||
Ell | fb6094a1b8 |
|
@ -48,7 +48,7 @@
|
|||
ariaHidden: true
|
||||
}),
|
||||
// prepend current file id to the anchor permalink
|
||||
slugify: s => `${getId() ?? ""}-${encodeURIComponent(String(s).trim().toLowerCase().replace(/\s+/g, "-").replace(/[^A-Za-z0-9_-]/g, ""))}`
|
||||
slugify: s => `${getId() ?? ""}-${encodeURIComponent(String(s).trim().toLowerCase().normalize("NFKD").replace(/\s+/g, "-").replace(/[^a-z0-9_-]/g, ""))}`
|
||||
});
|
||||
md.use(markdownitFootnote);
|
||||
|
||||
|
|
Loading…
Reference in a new issue