benweet / stackedit

In-browser Markdown editor
https://stackedit.io/
Apache License 2.0
21.8k stars 2.73k forks source link

Covert document to LaTex #1700

Closed JosiasAurel closed 3 years ago

JosiasAurel commented 3 years ago

Hey. I wish to know if it is possible to convert the source files of the written documents to LaTex source files. I wish to be able to edit the files along with pandoc locally. From whar i saw mentioned in the app, it makes use of KaTex (a distribution of LaTex) but i can't find that much about it out there. Please if it possible to convert the source files to LaTex, how can it be done. Thanks

JosiasAurel commented 3 years ago

I have found another solution using pandoc directly. I exported all my files to markdown and use pandoc CLI to convert each of them to latex files. I used the command

pandoc --from=markdown --output=filename.tex filename.md