Use json instead of json5 for syntax highlight in docs

Looks like website only recognizes javascript & json, and is not aware
of jsonc or json5.

Will result in small regression on Github web view - comments will show
up as red (since comments are not part of json format), but syntax
highlight would work both on website and on Github.

Alternative is using javascript for syntax highlight, however syntax
highlighter for json looks better on both website and Github (since it
uses separate highlighting for json keys, separate from strings in
values)
This commit is contained in:
Ivan Savenko committed 2024-12-04 16:50:01 +00:00
1 parent 9e07b5c5de
commit 879aaba980
38 files changed
+154 -154

No files matched your search

+2 -2
View File
@@ -62,7 +62,7 @@ To export maps and campaigns, use '/translate maps' command instead.
It's possible to add video subtitles. Create a JSON file in `video` folder of translation mod with the name of the video (e.g. `H3Intro.json`):
```json5
```json
[
{
"timeStart" : 5.640, // start time, seconds
@@ -164,7 +164,7 @@ If you want to update existing translation, you can use '/translate missing' com
In order to display information in Launcher in language selected by user add following block into your `mod.json`:
```json5
```json
"<language>" : {
"name" : "<translated name>",
"description" : "<translated description>",