(content: string)
| 129 | } |
| 130 | |
| 131 | function hasAttachmentReferences(content: string): boolean { |
| 132 | return ( |
| 133 | /!\[\[[^\]]+\]\]/.test(content) |
| 134 | || /!\[[^\]]*\]\((?!https?:\/\/|data:|#)[^)]+\)/i.test(content) |
| 135 | ) |
| 136 | } |
| 137 | |
| 138 | export function parseObsidianMarkdownFiles( |
| 139 | files: ImportFile[], |
no outgoing calls
no test coverage detected