obsidian-pandoc
obsidian-pandoc copied to clipboard
[bug] Incorrect export files in word format, containing mathematical formulas:
Thank you for your work, this is a great plugin.
Incorrect export files in word format, containing mathematical formulas (extra characters in front of formulas that are taken from the variable index):
However, if you export directly through pandoc, there is no problem:
Sorry about this! One way to fix this issue is to set the Export files from HTML or markdown?
setting to Markdown
in the plugin settings.
By default this plugin uses the HTML displayed in Obsidian as input to Pandoc, which is how things like DataView tables work. However, the math equation support in Pandoc for HTML imports is often a little patchy. So if you change that setting, it will use Pandoc normally with markdown and you won't have as many formatting issues. However, this will remove support Obsidian specific markdown features. Unfortunately for now it's a choice between good formatting and getting Obsidian features.
If you have any further issues / questions, please let me know.
- [ ] Note to self: update the docs to mention this fix