Code markdown fails if ` backtick is normal (non-dead) key or pasted in
For code markdown formatting to work, it isn't enough to just type backticks ` in any old way, and copy-pasting three backticks certainly won't work.
For it to work, backtick for inline code (or the last of the three backticks for code blocks) must be typed using a dead key and then a space.
(A dead key is a key that does nothing on its own if you press it once, but rather waits for another keypress, whose character it is meant to modify. Like typing "~" followed by "n" to get the Spanish "ñ"; the ~ tilde is, on my keyboard, a dead key.)
If, on your keyboard (like mine), backtick happens to be not a dead key but a regular key, then code markdown will not kick in.
This is true both for
inline code and
Requiring a dead key seems pointlessly obscure. Any backtick should be good enough, regardless of how it is typed in or pasted in.
Can this please be fixed so that all backticks are treated equally?
Jean-François Corbett commented
This seems to have been fixed in version 1.2. Yay
I'm having the exact same issue.