Infomaniak / kpaste

Infomaniak paste
GNU General Public License v3.0
42 stars 8 forks source link

Reduce vendor.js footprint #10

Closed Maxime-J closed 4 months ago

Maxime-J commented 4 months ago

Closes #9

highlight.js is currently used with all its supported languages, taking a large amount of space. Only the most common languages are loaded with this PR, which are, in the currently used version:

xml
bash
c
cpp
csharp
css
markdown
diff
ruby
go
graphql
ini
java
javascript
json
kotlin
less
lua
makefile
perl
objectivec
php
php-template
plaintext
python
python-repl
r
rust
scss
shell
sql
swift
yaml
typescript
vbnet
wasm

Details are in the issue.