diff --git a/docs/Filter/HasChild.md b/docs/Filter/HasChild.md
index 12228b10d8ff840742a874da8d1ec568957d1756..7ea66912261a7024dcad30b05bbc5b0625e37599 100644
--- a/docs/Filter/HasChild.md
+++ b/docs/Filter/HasChild.md
@@ -7,6 +7,7 @@ and results in parent documents that have child docs matching the query.
 
 ## Simple example
 
+```JSON
 {
     "has_child" : {
         "type" : "blog_tag",
diff --git a/docs/Filter/HasParent.md b/docs/Filter/HasParent.md
index 23f6de0c5c894fd1d60f2bc596bffe0dbbeb660b..53bd7fa2454a86f715c53f4c20538e2b0874eed2 100644
--- a/docs/Filter/HasParent.md
+++ b/docs/Filter/HasParent.md
@@ -8,6 +8,7 @@ This filter returns child documents which associated parents have matched.
 
 ## Simple example
 
+```JSON
 {
     "has_child" : {
         "type" : "blog_tag",