At the moment the markdown format is lost when you're just left with txt files. It would be nice if there was an option to convert a Notes document into a PDF or directly call a window to send it to a printer. Thanks!
@AquaL1te do you know if such a Markdown-to-PDF library exists, ideally in Javascript (or PHP)? Any help in researching is welcome. :)
@jancborchardt, something like this? There are probably many more, this one was at the top of my Google search.
Seems like it requires Node, which we can’t require. Needs to be either PHP or JS. :)
What about: https://github.com/nickurt/markdown-pdf
@AquaL1te is from 2015, seems unmaintained and says »work in progress«. :\ But thank you for the effort in finding a library! :) That’s the first step.
Just an idea: Instead of implementing the whole stuff ourselfs: What about a @media print stylesheet that creates a nice layout for printing. Nealry every browser (at least Chrome and Firefox on Linux) are able to save a PDF instead of actually printing in their print dialog?
@stefan-niedermann right, that’s a great call! :) Would probably only need few rules to remove the header and notes list from view. :) Setting as good first issue.
Most helpful comment
Just an idea: Instead of implementing the whole stuff ourselfs: What about a
@media printstylesheet that creates a nice layout for printing. Nealry every browser (at least Chrome and Firefox on Linux) are able to save a PDF instead of actually printing in their print dialog?