10-13-2019, 10:53 AM
This short MyCode allow to use ` symbol to display inline code (as it's done here).
Regular Expression
None
Select All
Replacement
None
Select All
css
None
Select All
Note the modifiers at the begining of the regexp: U (makes ungreedy) and -s (to force the single-line)
Regular Expression
Code:
(?U-s)`(.+)`
None
Select All
Replacement
Code:
<code class="inline-code">$1</code>
None
Select All
css
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;
}
None
Select All
Note the modifiers at the begining of the regexp: U (makes ungreedy) and -s (to force the single-line)