wll8 / markdown-to-file

Converts Markdown files to pdf, html, png or jpeg files.
Other
7 stars 0 forks source link

Possibility to convert links to .md files to .pdf before converting #2

Open KSAdk opened 5 months ago

KSAdk commented 5 months ago

We use Markdown for all documentation related files. Upon release, some of these files are converted to PDF.

The problem arise when one documentation file links to another file. Internally (in the .md version), we would like this link to point to the .md version as we normally don't have the .pdf version locally. In the .pdf version, on the other hand, we would like the link to point to the .pdf version.

Is it possible to add a setting that will make it possible to convert all hyperlinks ending with .md to .pdf?

wll8 commented 5 months ago

Try out the program at https://marketplace.visualstudio.com/items?itemName=yzane.markdown-pdf to see if it can handle nested markdown to pdf conversions. Additionally, do you require clickable links within the pdf that navigate to the converted pdf when clicked?