HomeSoftware Heritage

common/highlightjs: Use dynamically generated languages data

Description

common/highlightjs: Use dynamically generated languages data

Instead of hardcoding the set of supported programming languages and their
aliases in the common.highlightjs module, read those data from a JSON file
instead.

That JSON file is generated during frontend assets processing by webpack.
This ensures languages data will always be in sync with current release
of the highlightjs library.

Details