I’ve also been unable to get this plugin working.
I’m having the same issues as @a_wue.
- Empty slide preview in Obsidian
- Empty window in browser
VM342:72636 Uncaught (in promise) TypeError: markdown.replaceAll is not a function
at AutoClosingProcessor.transformBlock (eval at <anonymous> (app.js:1), <anonymous>:72636:25)
at AutoClosingProcessor.process (eval at <anonymous> (app.js:1), <anonymous>:72633:17)
at ObsidianMarkdownPreprocessor.process (eval at <anonymous> (app.js:1), <anonymous>:72677:65)
at RevealRenderer.render (eval at <anonymous> (app.js:1), <anonymous>:72764:46)
at RevealRenderer.renderFile (eval at <anonymous> (app.js:1), <anonymous>:72749:33)
at async eval (eval at <anonymous> (app.js:1), <anonymous>:72865:22)
which points to
// src/processors/autoClosingProcessor.ts
var AutoClosingProcessor = class {
constructor() {
this.regex = /<(\s*?([\w]*)[^>]*?)\/(?<=\/)>/gm;
}
process(markdown) {
return this.transformBlock(markdown);
}
transformBlock(markdown) {
markdown = markdown.replaceAll(this.regex, `<$1></$2>`);
return markdown;
}
};
I am on windows 10.
Hope this helps.