()
| 47 | |
| 48 | // Reset settings to default |
| 49 | export function resetObsidianSettings() { |
| 50 | const enabled = get(featureFlags).enableObsidianIntegration; |
| 51 | if (!enabled) return; |
| 52 | |
| 53 | obsidianSettings.set(defaultSettings); |
| 54 | } |
| 55 | |
| 56 | // Helper to get file path |
| 57 | export function getObsidianFilePath(noteName: string): string | undefined { |