From e9fb63f42641e3e4b75e1868ed670be27b913619 Mon Sep 17 00:00:00 2001 From: muxator Date: Thu, 9 Aug 2018 22:27:56 +0200 Subject: [PATCH] docs: "```js" -> "```json" in Markdown of some json blocks --- doc/api/http_api.md | 2 +- doc/plugins.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/http_api.md b/doc/api/http_api.md index cacefb532..0baae7277 100644 --- a/doc/api/http_api.md +++ b/doc/api/http_api.md @@ -72,7 +72,7 @@ The API is accessible via HTTP. HTTP Requests are in the format /api/$APIVERSION ### Response Format Responses are valid JSON in the following format: -```js +```json { "code": number, "message": string, diff --git a/doc/plugins.md b/doc/plugins.md index cf72c98f0..0dccbe848 100644 --- a/doc/plugins.md +++ b/doc/plugins.md @@ -50,7 +50,7 @@ There are server hooks, which will be executed on the server (e.g. `expressCreat ### Parts As your plugins become more and more complex, you will find yourself in the need to manage dependencies between plugins. E.g. you want the hooks of a certain plugin to be executed before (or after) yours. You can also manage these dependencies in your plugin definition file `ep.json`: -```javascript +```json { "parts": [ {