Closed conorhastings closed 7 years ago
@wooorm added tests
in regards to your first question, I'd like a way to know if syntax has been previously registered or not.
@wooorm updated with tests and coverage passing
@wooorm fixed example
This looks great!
One more Q, while I was in the process of merging this: the result of syntax
isn’t useful at all to other people I think. How about a registered
function instead, that returns a boolean: whether the given language is registered?
Does that solve your problem?
@wooorm yeah would actually prefer that, just was matching lowlight as much as possible, but i'll update to that
Don’t worry, I’ll do it, I was half way through merging this already!
@wooorm sounds good, thanks!
Released!
@wooorm awesome! thanks!
language
orsyntax
or something else here too, what do you think?