Obsidian export to pdf via Typora

Sorry, but I’m not a programmer and have no clue how to do the task with Typora. Do I have to save the code in a .py file and need to run it as a command in Typora (added to the PDF export)?

Any support is appreciated :slightly_smiling_face:

And has anyone an idea how to convert the markdown file to a markdown file without the links? I tested this plugin, but I use internal links to headers in files and it didn’t work for that purpose.

I need the “clean” markdown for a glossary, which I use in a latex file for a thesis.