Browse Source

#26800: Fix docs rendering

Jim Ferenczi 8 years ago
parent
commit
d1093bd2fa
1 changed files with 9 additions and 4 deletions
  1. 9 4
      docs/reference/aggregations/bucket/composite-aggregation.asciidoc

+ 9 - 4
docs/reference/aggregations/bucket/composite-aggregation.asciidoc

@@ -59,23 +59,28 @@ POST /sales/docs/_bulk?refresh
 
 For instance the following document:
 
-```
+[source,js]
+--------------------------------------------------
 {
     "keyword": ["foo", "bar"],
     "number": [23, 65, 76]
 }
-```
+--------------------------------------------------
+// NOTCONSOLE
+
 \... creates the following composite buckets when `keyword` and `number` are used as values source
 for the aggregation:
 
-```
+[source,js]
+--------------------------------------------------
 { "keyword": "foo", "number": 23 }
 { "keyword": "foo", "number": 65 }
 { "keyword": "foo", "number": 76 }
 { "keyword": "bar", "number": 23 }
 { "keyword": "bar", "number": 65 }
 { "keyword": "bar", "number": 76 }
-```
+--------------------------------------------------
+// NOTCONSOLE
 
 ==== Values source