Fixes enum highlighting and corrects typo of deafult -> default. Also updates hightlight.js to latest version.
The issue was both the syntax of the keywords in beginKeywords (should be separated by space, not |), and the end regex which had a \( expression outside the [] matcher. Just leaving this here for future reference.
Fixes enum highlighting and corrects typo of
deafult
->default
. Also updates hightlight.js to latest version.The issue was both the syntax of the keywords in
beginKeywords
(should be separated by space, not|
), and theend
regex which had a\(
expression outside the[]
matcher. Just leaving this here for future reference.Related to https://github.com/flix/book/pull/104
Fixes #28