mirror of
https://github.com/Ellpeck/ObsidianJustSharePlease.git
synced 2024-11-29 21:38:34 +01:00
parent
5ae82374ff
commit
6537a84562
1 changed files with 4 additions and 4 deletions
|
@ -30,12 +30,12 @@ export class JSPSettingsTab extends PluginSettingTab {
|
|||
});
|
||||
});
|
||||
new Setting(this.containerEl)
|
||||
.setName("Strip frontmatter")
|
||||
.setDesc("Whether document frontmatter (also known as properties) should be removed from the uploaded share.")
|
||||
.setName("Include file properties")
|
||||
.setDesc("Whether the file properties of the shared note should be included in the share as visible frontmatter.")
|
||||
.addToggle(t => {
|
||||
t.setValue(this.plugin.settings.stripFrontmatter);
|
||||
t.setValue(!this.plugin.settings.stripFrontmatter);
|
||||
t.onChange(async v => {
|
||||
this.plugin.settings.stripFrontmatter = v;
|
||||
this.plugin.settings.stripFrontmatter = !v;
|
||||
await this.plugin.saveSettings();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue