Adds highlighting support for dotenv codeblocks. Fixes #367
highlighting strings after = without capturing it requires positive lookahead, which isn't supported in all browsers, so I added a check just in case, but I wasn't able to define the string settings after defining attribute and operator separately, for some, reason adding string's config afterwards wasn't working, so I had to repeat a little code in the if blocks.
Adds highlighting support for dotenv codeblocks. Fixes #367
highlighting strings after
=
without capturing it requires positive lookahead, which isn't supported in all browsers, so I added a check just in case, but I wasn't able to define thestring
settings after definingattribute
andoperator
separately, for some, reason addingstring
's config afterwards wasn't working, so I had to repeat a little code in the if blocks.