update at 2025-09-22 21:02:14
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user