This is either your keyboard or the software you are using (we can't see that from here). So it is not specific to StackExchange sites.
This is done because the software supports another feature: pressing the apostroph or the backtick followed by another letter (most common a vowel) is an easy way to write diacritical characters like é
and è
.
Because of this feature the software cannot immediately display the apostroph or backtick, it has to wait for the next character to determine what your intention is. Only when you press the next backtick it knows that you intended to enter a backtick.
This is not bad in itself: just remember to type the backtick twice, then press cursor left, then type what comes between them. That way you won't forget the closing backtick.
This is akin to typing the { }
brackets in the C programming language first before entering the code that goes in between. There, having a closing bracket at the correct location is much more important.
This is not only done with apostroph and backtick, but e.g. also with double quotation marks (" and e gives ë
) and even with consonants (, and C gives Ç
).
'MODIFIER LETTER GRAVE ACCENT' (U+02CB)
which shows as a backtick, but isn't one. This is likely a bug, but it took me some time to figure out why my inline code suddenly wasn't rendered anymore. Change to US layout, is what I'm telling you!SPACE
does not insert a space but only `, so it may help to get around this inconvenience. source