Move list of languages in code_blocks_language_loader to a constant file
The following discussion from !69131 (merged) should be addressed:
-
@pslaughter started a discussion: (+4 comments) question (non-blocking): Is there any way we can get this list from the actual
lowlight
orhighlight
source? I think this hardcoded list is fine for now, but I can see some potential problems in the future.What if we had a separate package which matched the same version as
highlight.js
and just included this metadata? Can we create a follow up issue for this?
suggestion: For now, can we move this to it's own file? This way we can also just
/* eslint-disable @gitlab/require-i18n-strings */
at the top.
Edited by Himanshu Kapoor