Open FeralFlora opened 3 months ago
Even though I have the "Use [[Wikilinks]]" toggle enabled, all my image embeds are in markdown link format. This seems to be due to the use of htmlToMarkdown:
htmlToMarkdown
https://github.com/obsidianmd/obsidian-importer/blob/4be63256cae2c5d852ee1ed75f50d81b87f801c2/src/formats/onenote.ts#L321
https://github.com/obsidianmd/obsidian-importer/blob/4be63256cae2c5d852ee1ed75f50d81b87f801c2/src/formats/html.ts#L221
The file link is also hardcoded to be URI encoded, which is not necessary in wikilinks: https://github.com/obsidianmd/obsidian-importer/blob/4be63256cae2c5d852ee1ed75f50d81b87f801c2/src/formats/onenote.ts#L543
Even though I have the "Use [[Wikilinks]]" toggle enabled, all my image embeds are in markdown link format. This seems to be due to the use of
htmlToMarkdown
:https://github.com/obsidianmd/obsidian-importer/blob/4be63256cae2c5d852ee1ed75f50d81b87f801c2/src/formats/onenote.ts#L321
https://github.com/obsidianmd/obsidian-importer/blob/4be63256cae2c5d852ee1ed75f50d81b87f801c2/src/formats/html.ts#L221
The file link is also hardcoded to be URI encoded, which is not necessary in wikilinks: https://github.com/obsidianmd/obsidian-importer/blob/4be63256cae2c5d852ee1ed75f50d81b87f801c2/src/formats/onenote.ts#L543