In Markdown, text surrounded by backticks becomes monospace text. Since inline monospaced code is used very frequently in Wikipedia pages (and undoubtedly pages on other wikis), we should support similar syntax.
Specifically:
- Text inside single backticks becomes inline monospace.
- Text inside triple backticks becomes block monospace. Additionally, if there is a word {lang} immediately after the opening backticks, that enables syntax highlighting as if it were enclosed in <syntaxhighlight lang="{lang}"> tags.
`example text` becomes <code>example text</code> ```java System.out.println("Hello"); ``` is treated the same as <syntaxhighlight lang="java"> System.out.println("Hello"); </syntaxhighlight>