From 7e9fdb04917b93ba82cdae334c244a7bc0db739f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20B=C3=A9guin?= Date: Wed, 18 Oct 2017 08:51:01 +0200 Subject: [PATCH] Fix documentation snippet type --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 83bcd4d..9978e65 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ With: **Nb:** If process is launched as a sub process it will send a message to its parent process when starting: -```json +```js {status: 'started'} ``` @@ -27,7 +27,7 @@ With: The server configuration must be a simple JSON file. -```json +```js { "port": 3004, // The port the server will listen to (default to 3004) "userLoginAttribute": "cn", // The name of the LDAP attribute holding the user login (default to cn) @@ -41,7 +41,7 @@ The server configuration must be a simple JSON file. The database user must be a simple JSON file containing an array of users. Each user must have an attribute used to authenticate himself with the same name as defined by server configuration **userLoginAttribute**. A user can also have any number of other attributes which will all be returned. -```json +```js [ { "dn": "cn=user,dc=test", // A valid DN (Distinguished Name)