1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

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
2024-12-04 16:50:01 +00:00
parent 9e07b5c5de
commit 879aaba980
38 changed files with 154 additions and 154 deletions

View File

@@ -2,7 +2,7 @@
## Fields with description of mod
```json5
```json
{
// Name of your mod. While it does not have hard length limit
// it should not be longer than ~30 symbols to fit into allowed space
@@ -91,7 +91,7 @@
These are fields that are present only in local mod.json file
```json5
```json
{
// Following section describes configuration files with content added by mod
@@ -210,7 +210,7 @@ See [Translations](Translations.md) for more information
These are fields that are present only in remote repository and are generally not used in mod.json
```json5
```json
{
// URL to mod.json that describes this mod
"mod" : "https://raw.githubusercontent.com/vcmi-mods/vcmi-extras/vcmi-1.4/mod.json",