[MyCode] Inline code
This short MyCode allow to use ` symbol to display inline code (as it's done here).

Regular Expression

<code class="inline-code">$1</code>

.inline-code {
	background: #00bcd4;
	padding: 1px;
	border: solid 1px #EEE;
	border-radius: 3px;
	word-wrap: break-word;
	font-family: Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;
	font-size: 12px;

Note the modifiers at the begining of the regexp: U (makes ungreedy) and -s (to force the single-line)
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM

Forum Jump:

Users browsing this thread: 1 Guest(s)