I wanted to introduce a shortcut for blank.page to preview your markdown text in html. What would that shortcut be? +P would be the obvious answer, but this is already used for printing.

But… Very few times I’ve needed to print a website. When I’ve need to print, it’s usually a PDF I’ve loaded somewhere. Blank.page is a bit of a gray area because it’s content centric. It’s reasonable to think that someone may type something and hit +P expecting the print dialog.

So here was the compromise: if you use the keyboard to preview, then a message is displayed giving you the option of holding shift:

alt text

The message is only displayed if you use the keyboard shortcut.

You can try it out live in this embed:

Type +P on Mac or Ctrl+P on Windows and Linux.