diff --git a/src/settings-tab.ts b/src/settings-tab.ts index 1bf70b8..321a113 100644 --- a/src/settings-tab.ts +++ b/src/settings-tab.ts @@ -18,7 +18,13 @@ export class CustomFramesSettingTab extends PluginSettingTab { new Setting(this.containerEl) .setName("Frame Padding") - .setDesc("The padding that should be left around the inside of custom frame panes, in pixels.") + .setDesc(createFragment(f => { + f.createSpan({ text: "The padding that should be left around the inside of custom frame panes, in pixels." }); + f.createEl("br"); + f.createEl("em", { text: "Note that decreasing this padding too much will increase the likelihood of a " }); + f.createEl("a", { text: "known issue", href: "https://github.com/Ellpeck/ObsidianCustomFrames#%EF%B8%8F-known-issues" }); + f.createEl("em", { text: "." }); + })) .addText(t => { t.inputEl.type = "number"; t.setValue(String(this.plugin.settings.padding));