Try Okular, it will read MD files and can save PDF.
I just tested it with some notebooks I had in Joplin and exported in
Markdown format. Some of it rendered perfectly, other less so. I don't know
if it is due to the way Joplin uses Markdown or Okular's rendering that
caused the issue.

Jason

On Wed, Jun 16, 2021 at 9:19 AM Rich Shepard <[email protected]>
wrote:

> I've a web page with an .md file with long lines that are truncated when
> printed to file so I used wget to download the file.
>
> Pandoc converts the .md to .pdf but it's all html markup. Pandoc apparently
> needs another tool to convert markdown to html (which can then be converted
> to PDF).
>
> Is there another way to convert from .md to .pdf and have a clean text file
> with included code?
>
> Rich
>

Reply via email to