mirror of
https://github.com/ebullient/obsidian-deck-notes.git
synced 2026-07-22 06:40:43 +00:00
🎨 obsidian plugin recommendations; revised tsconfig
This commit is contained in:
parent
a3087ac729
commit
380851dd3c
2 changed files with 22 additions and 6 deletions
|
|
@ -33,7 +33,7 @@ export class SimpleFlashcardsSettingsTab extends PluginSettingTab {
|
|||
const { containerEl } = this;
|
||||
containerEl.empty();
|
||||
|
||||
containerEl.createEl("h2", { text: "Simple Flashcards Settings" });
|
||||
new Setting(containerEl).setHeading().setName("Simple Flashcards");
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName("Save Settings")
|
||||
|
|
@ -138,15 +138,15 @@ export class SimpleFlashcardsSettingsTab extends PluginSettingTab {
|
|||
}),
|
||||
);
|
||||
|
||||
containerEl.createEl("h3", { text: "Usage" });
|
||||
const usage = containerEl.createEl("div");
|
||||
usage.createEl("p", {
|
||||
new Setting(containerEl).setHeading().setName("Usage");
|
||||
|
||||
containerEl.createEl("p", {
|
||||
text: "Cards are created from markdown files with H2 headings (##). Each heading becomes one card.",
|
||||
});
|
||||
usage.createEl("p", {
|
||||
containerEl.createEl("p", {
|
||||
text: "Use --- (horizontal rule) to mark the end of card content. Anything after --- will be ignored.",
|
||||
});
|
||||
usage.createEl("p", {
|
||||
containerEl.createEl("p", {
|
||||
text: "Lines starting with #flashcards will be stripped from card display.",
|
||||
});
|
||||
}
|
||||
|
|
|
|||
16
tsconfig.json
Normal file
16
tsconfig.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2018",
|
||||
"module": "ESNext",
|
||||
"lib": ["ES2018", "DOM"],
|
||||
"moduleResolution": "bundler",
|
||||
"allowJs": true,
|
||||
"noEmit": true,
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
Loading…
Reference in a new issue