nvpy icon indicating copy to clipboard operation
nvpy copied to clipboard

printing markdown render from Chrome

Open RSchwoerer opened this issue 11 years ago • 1 comments

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:

  1. create note
  2. File > Render Markdown to HTML
  3. file opens in Chrome browser tab
  4. CTRL+P, Chrome print dialog opens
  5. 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

RSchwoerer avatar Oct 28 '14 14:10 RSchwoerer

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">

garyritchie avatar Feb 11 '15 14:02 garyritchie