diff --git a/CI/example.markdownlint-cli2.jsonc b/CI/example.markdownlint-cli2.jsonc index 9b009818f..13e8155eb 100644 --- a/CI/example.markdownlint-cli2.jsonc +++ b/CI/example.markdownlint-cli2.jsonc @@ -186,7 +186,7 @@ // FIXME: enable and consider fixing //{ //// List of languages - // "allowed_languages": [ "cpp", "json", "jsonc", "json5", "sh" ], + // "allowed_languages": [ "cpp", "json5", "sh" ], //// Require language only // "language_only": true //}, diff --git a/docs/modders/Campaign_Format.md b/docs/modders/Campaign_Format.md index 4c16bcf13..1f8b811a4 100644 --- a/docs/modders/Campaign_Format.md +++ b/docs/modders/Campaign_Format.md @@ -9,7 +9,7 @@ To start making campaign, create file named `header.json`. See also [Packing cam Basic structure of this file is here, each section is described in details below -```js +```json5 { "version" : 1, @@ -34,7 +34,7 @@ Basic structure of this file is here, each section is described in details below In header are parameters describing campaign properties -```js +```json5 ... "regions": {...}, "name": "Campaign name", @@ -63,7 +63,7 @@ In header are parameters describing campaign properties Scenario description looks like follow: -```js +```json5 { "map": "maps/SomeMap", "preconditions": [], @@ -100,7 +100,7 @@ Scenario description looks like follow: Prolog and epilog properties are optional -```js +```json5 { "video": "NEUTRALA.smk", //video to show "music": "musicFile.ogg", //music to play, should be located in music directory @@ -119,7 +119,7 @@ If `startOptions` is `none`, `bonuses` field will be ignored If `startOptions` is `bonus`, bonus format may vary depending on its type. -```js +```json5 { "what": "", @@ -162,7 +162,7 @@ If `startOptions` is `bonus`, bonus format may vary depending on its type. If `startOptions` is `crossover`, heroes from specific scenario will be moved to this scenario. Bonus format is following -```js +```json5 { "playerColor": 0, "scenario": 0 @@ -176,7 +176,7 @@ If `startOptions` is `crossover`, heroes from specific scenario will be moved to If `startOptions` is `hero`, hero can be chosen as a starting bonus. Bonus format is following -```js +```json5 { "playerColor": 0, "hero": "random" @@ -190,7 +190,7 @@ If `startOptions` is `hero`, hero can be chosen as a starting bonus. Bonus forma Predefined campaign regions are located in file `campaign_regions.json` -```js +```json5 { "background": "ownRegionBackground.png", "suffix": ["Enabled", "Selected", "Conquered"], diff --git a/docs/modders/Difficulty.md b/docs/modders/Difficulty.md index 1a70a10a2..52e265807 100644 --- a/docs/modders/Difficulty.md +++ b/docs/modders/Difficulty.md @@ -50,7 +50,7 @@ For both types of bonuses, `source` should be specified as `OTHER`. ## Example -```js +```json5 { //will give 150% extra health to all players' creatures if specified in "battleBonuses" array "type" : "STACK_HEALTH", "val" : 150, diff --git a/docs/modders/Map_Objects/Market.md b/docs/modders/Map_Objects/Market.md index 90ef19b68..18c07d6f6 100644 --- a/docs/modders/Map_Objects/Market.md +++ b/docs/modders/Map_Objects/Market.md @@ -7,7 +7,7 @@ Markets can be added as any other object with special handler called "market". Here is schema describing such object -```js +```json5 "seafaringAcademy" : //object name { "handler" : "market", //market handler @@ -85,14 +85,14 @@ See [Secondary skills](Rewardable.md#secondary-skills) description for more deta ### Example for University of magic (e.g conflux building) -```js +```json5 "modes" : ["resource-skill"], "offer" : ["airMagic", "waterMagic", "earthMagic", "fireMagic"] ``` ### Example for regular University -```js +```json5 "modes" : ["resource-skill"], "offer" : [ //4 random skills except necromancy { "noneOf" : ["necromancy"] },