obsidian solves the problem of Pandoc Plugin plug-in configuration and pandoc export failed error when exporting docx.

Problem: After obsidianinstalling Pandoc Pluginthe plug-in, there may be problems with the export. For example, pandoc export failed.
This video on site B explains it very well:
https://www.bilibili.com/video/BV1iS4y147cz/?spm_id_from=333.337.search-card .all.click&vd_source=93959e14dcf8f7960d228d68c8895e61
Her documentation tutorial is very detailed and very good, including attachments:
https://www.wolai.com/sally/8TKLnQANv7vRCUQU36wUsS
However, it also has shortcomings, that is, the installation path is not customized. The path is the default installation path, so there will be errors in filling in the folders with some partners' symbols.
Now I will talk about my own configuration steps:

  1. First, install Pandoc on your Windows computer.
    Pandoc download URL: https://pandoc.org/installing.html
    and then install it in the folder you specify. I installed it D:/Pandocunder the folder. The effect is as follows:
    Insert image description here
  2. obsidianInstall the plug-in in your own computer Pandoc Plugin. After the installation is complete, close it , then delete all four files in the plug- in folder obsidianin your obsidian library file directory , and then replace the files in the attachment; Note: If you fill in the address after completing The plug-in still cannot detect the file. You need to disable the plug-in and then open it again;Pandoc PluginE:\Repository\.obsidian\plugins\obsidian-pandoc\
    D:\Pandoc\pandoc.exePandoc Pluginpandoc.exe
  3. Then open the obsidianplug Pandoc Plugin-in configuration. The configuration is as follows:
    Insert image description here
    Export folderthe file path stored after the md file is exported to docx
    Pandoc pathis the path of pandoc installation. This is
    Extra Pandoc argumentsthe content of the absolute path part:
-s --lua-filter=E:\Repository\pandoc_template\zotero.lua --reference-doc=E:\Repository\pandoc_template\English-Template.docx

But there is a problem with the above. The pictures in the md document must have been uploaded to the image bed, which means that the pictures must be similar to the following form
![000](https://img-blog.csdnimg.cn/e94904745.png), so that the exported word can have pictures.

If there is a better solution, please help me correct it! Thank you!

Guess you like

Origin blog.csdn.net/m0_66238629/article/details/132073248