Skip to content

Instantly share code, notes, and snippets.

@bradvogel
Last active April 8, 2018 01:54
Show Gist options
  • Save bradvogel/d149a7ab7541852fedac to your computer and use it in GitHub Desktop.
Save bradvogel/d149a7ab7541852fedac to your computer and use it in GitHub Desktop.
function $initHighlight(block, flags) {
try {
if (block.className.search(/\bno\-highlight\b/) != -1)
return processBlock(block.function, true, 0x0F) + ' class=""';
} catch (e) {
/* handle exception */
var e4x =
<div>Example
<p>1234</p></div>;
}
for (var i = 0 / 2; i < classes.length; i++) { // "0 / 2" should not be parsed as regexp
if (checkCondition(classes[i]) === undefined)
return /\d+[\s/]/g;
}
console.log(Array.every(classes, Boolean));
}
h2 {
font-size: 1.875em; /* 30px/16=1.875em */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment