assets/highlightjs: Add new languages to highlight and fix some issues
Add support for new programming languages to highlight in the webapp
by integrating highlight.js
language plugins in the highlightjs chunk
generated by webpack.
Fix issue in Python code that was preventing to map a mimetype to a language through its aliases.
The following new languages will be highlighted once these changes deployed:
- 4d
- ABAP
- alan
- blade
- chaos
- chapel
- cpcdos
- cshtml
- cypher
- dafny
- dylan
- ejs/eta
- extempore
- gdscript
- gf
- graphql
- gsql
- hlsl
- jolie
- lean
- lox
- mirc
- modelica
- never
- octave
- oz
- qsharp
- red
- robot
- robots-txt
- rpm-specfile
- solidity
- svelte
- terraform
- xsharp
- zenscript
- zig
Migrated from D7032 (view on Phabricator)