Docs: Use "js" instead of "json" and "sh" instead of "shell" for source highlighting

This commit is contained in:
Clinton Gormley 2015-07-14 18:14:09 +02:00
parent 01601e9a3d
commit 2b512f1f29
37 changed files with 114 additions and 114 deletions

View file

@ -23,7 +23,7 @@ in the `config/scripts/` directory on every node.
To convert an inline script to a file, take this simple script
as an example:
[source,json]
[source,js]
-----------------------------------
GET /_search
{
@ -48,7 +48,7 @@ on every data node in the cluster:
Now you can access the script by file name (without the extension):
[source,json]
[source,js]
-----------------------------------
GET /_search
{