feat() Show in code blocks

This commit is contained in:
Tal Wrii 2025-01-07 03:56:02 +01:00
parent 0d2326880d
commit b160ee17ee

View file

@ -453,5 +453,10 @@ function replRequire(vaultPath: string, name: string) {
function renderCodeBlock(plugin: ReplPlugin, source: string, el: HTMLElement, ctx: MarkdownPostProcessorContext) {
plugin.runInCodeBlock(el, source)
try {
plugin.runInCodeBlock(el, source)
} catch (e) {
el.appendText(e.message)
el.appendText(e.stack)
}
}