MicroPad-Core icon indicating copy to clipboard operation
MicroPad-Core copied to clipboard

Export notebooks/notes as pdf files with Markdown rendered

Open AndrewMD888 opened this issue 5 years ago • 5 comments

It would be great if users could export notebooks and notes as pdf files with all of the Markdown formatting remaining intact. That would allow users to refer back to the notes' content on a file-by-file basis and see the same formatting display that you get while in the program itself.

AndrewMD888 avatar May 07 '19 22:05 AndrewMD888

Sorry, I'm not quite sure I understand. What markdown formatting isn't intact when you export?

NickGeek avatar Jun 08 '19 09:06 NickGeek

Right now when you export notes, the markdown files just display your text with the markdown characters as it appears in the text editor. I was thinking of expanding the export feature to make the note(s) into PDF files that displays the text as you see it on the MicroPad canvas, with the Markdown formatting rendered in the file. This would enable you to basically have a formatted PDF file of your notes for easy reading. As I mentioned, this does not happen with the Markdown files as those files just display the text content and Markdown syntax without the Markdown being actually rendered. Is this possible?

AndrewMD888 avatar Jul 13 '19 07:07 AndrewMD888

Ah, there is currently an export to PDF option (via printing), however it could definitely be improved.

NickGeek avatar Jul 13 '19 09:07 NickGeek

Ah, I see! I completely missed that option before... it does what I detailed above. However, it does seem slightly buggy because every time I export a note as a PDF, it closes MicroPad. I think it crashes because one time I got a dialog box stating that an exception was thrown. My PDF file was saved properly, though. I would definitely like to see this feature improved.

AndrewMD888 avatar Jul 13 '19 11:07 AndrewMD888

https://github.com/MicroPad/Electron/issues/29 also raises some issues.

NickGeek avatar Oct 03 '19 09:10 NickGeek