this post was submitted on 25 Sep 2023
5 points (100.0% liked)
ObsidianMD
4100 readers
1 users here now
Unofficial Lemmy community for https://obsidian.md
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I got this mostly working, but it was not easy. Not only does Obsidian have a few peculiarities that make it less compatible with standard Markdown, but Word also does a few funny things.
Here's the
config.yaml
I used for Pandoc:The three filters:
nbsp
, which made Pandoc's linter not remove them automatically.Strong
tags. This is an artifact from Word where a line is bolded but has no content: technically the line break is bolded.I then ran the resulting file through a RegExp replacement to change the superscript carats into HTML
sup
tags.Even after all this, I still have to go through with an Obsidian plugin to convert the standard Markdown links and embeds into
[[Wikilink]]
style, since Obsidian will only do one or the other throughout your whole vault.