(noteName: string)
| 55 | |
| 56 | // Helper to get file path |
| 57 | export function getObsidianFilePath(noteName: string): string | undefined { |
| 58 | const enabled = get(featureFlags).enableObsidianIntegration; |
| 59 | if (!enabled || !noteName) return undefined; |
| 60 | |
| 61 | return `myfiles/Fabric_obsidian/${ |
| 62 | new Date().toISOString().split('T')[0] |
| 63 | }-${noteName.trim()}.md`; |
| 64 | |
| 65 | |
| 66 | |
| 67 | } |
| 68 |