update at 2025-09-22 21:02:14

This commit is contained in:
douboer
2025-09-22 21:02:14 +08:00
parent b70d02fb84
commit 855d06e727
3 changed files with 52 additions and 9 deletions

View File

@@ -312,6 +312,17 @@ export class NoteToMpSettingTab extends PluginSettingTab {
text.inputEl.setAttr('style', 'width: 360px;');
});
new Setting(containerEl)
.setName('忽略 frontmatter 封面')
.setDesc('开启后不使用 frontmatter 中 cover/image 字段封面将按正文首图→gallery→默认封面回退')
.addToggle(toggle => {
toggle.setValue(this.settings.ignoreFrontmatterImage);
toggle.onChange(async (value) => {
this.settings.ignoreFrontmatterImage = value;
await this.plugin.saveSettings();
});
});
new Setting(containerEl)
.setName('启用空行渲染')
.addToggle(toggle => {