nvpy
nvpy copied to clipboard
printing markdown render from Chrome
I'm having a small issue with printing from Chrome, and I'm not sure if it has anything to do with the way MD is rendered to HTML, or if it is strictly a Chrome issue. Basically the print dialog opens and immediately closes before I can do anything. Copying the link from the HTML preview to IE, everything appears to work fine.
Thanks!
(Chrome 38.0.2125.111 m {latest}, nvPy 0.9.4)
Steps to reproduce:
- create note
- File > Render Markdown to HTML
- file opens in Chrome browser tab
- CTRL+P, Chrome print dialog opens
- Chrome print dialog is open for ~1 second and closes
- if I'm quick I can hit print, but it opens/closes too fast to do anything typically
I suspect that Continuous Markdown to HTML rendering is stuck in the on position. Each time the page refreshes the print dialog is escaped. Unfortunately I'm unable to find a way to turn it off even though the option is unchecked in the File menu.
As a workaround you can edit the rendered HTML using a text editor. Remove the following line near the top:
<meta http-equiv="refresh" content="5">