Last active
May 28, 2018 01:17
-
-
Save Runemoro/7d48bbf3081967d0ef6426a12813063a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hljs.registerLanguage('mccrash', (hljs)=>({ | |
cI: true, | |
c: [{ | |
cN: "section", | |
v: [{ | |
b: "^-{1,6} ", | |
e: " -{1,6}$" | |
}, { | |
b: "^.+?\\n[=-]{2,}$" | |
}] | |
}, { | |
cN: "bullet", | |
v: [{ | |
b: "^( |\\t)?[a-zA-Z][a-zA-Z() ]*: ", | |
e: "" | |
}] | |
}, { | |
cN: "comment", | |
v: [{ | |
b: "//", | |
e: "$" | |
}] | |
}] | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment