mirror of
https://github.com/ytliu74/obsidian-pseudocode.git
synced 2026-07-22 07:40:25 +00:00
fix: Setting bug
This commit is contained in:
parent
21d86e2ffc
commit
e7a4897b82
1 changed files with 1 additions and 1 deletions
2
main.ts
2
main.ts
|
|
@ -62,7 +62,7 @@ export default class PseudocodePlugin extends Plugin {
|
|||
const preEl = blockDiv.createEl("pre", { cls: "code", text: source });
|
||||
|
||||
try {
|
||||
pseudocode.renderElement(preEl, this.settings);
|
||||
pseudocode.renderElement(preEl, this.settings.jsSettings);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
const errorSpan = blockDiv.createEl("span", { text: "\u274C " + error.message });
|
||||
|
|
|
|||
Loading…
Reference in a new issue