Developer-Mike / obsidian-docxer

🚀 Boost your productivity by previewing and converting Word files easily to markdown.
GNU General Public License v3.0
52 stars 3 forks source link

What engine do it use? #13

Closed pro-arch-user closed 1 month ago

pro-arch-user commented 1 month ago

Hi. At first I thought that this is just a pandoc frontend, but I looked at the code and it doesn't look like it. Is it your own custom engine? It work amazing. Please clarify that in the plugin description. Also, any chance to get a command line version on this?

Developer-Mike commented 1 month ago

Hey 👋🏻. The plugin uses this npm package to show the preview of the docx file and mammoth to convert the docx content to HTML. This HTML gets converted to markdown using the turndown service that Obsidian also uses internally for their inbuilt HTML to markdown conversion. Here is the relevant code. There are no plans to provide a command line tool for docxer (I have other stuff to do 🙄).

pro-arch-user commented 4 weeks ago

Nice! It would be cool if you could add this information to readme.md. Perhaps it would be useful to someone, like if they wanna create a command-line version of it.