diff --git a/examples/convert_code_to_doc.py b/examples/convert_code_to_doc.py
index 80db041164e36bbbe62d3d5b7bc73fb44b04f407..d24f96f58081e127d13db23d7047192b7a339bc6 100755
--- a/examples/convert_code_to_doc.py
+++ b/examples/convert_code_to_doc.py
@@ -27,7 +27,7 @@ def createMarkdownCode(markDownToken):
         if not token[0].rstrip():
             return ""
         else:
-            return "```" + markDownToken + "\n" + token[0].rstrip() + "\n```\n"
+            return "\n```" + markDownToken + "\n" + token[0].rstrip() + "\n```\n\n"
     return action
 
 def cppRules():