diff --git a/examples/1ptracer/doc/1pmodel.md b/examples/1ptracer/doc/1pmodel.md
index 79ec9915368c45634a4d774ab196227ee2cc69ae..48b55e6dacf68f3f0f7dc79e9715a3a3b9bef1f6 100644
--- a/examples/1ptracer/doc/1pmodel.md
+++ b/examples/1ptracer/doc/1pmodel.md
@@ -170,7 +170,6 @@ struct EnableGridGeometryCache<TypeTag, TTag::IncompressibleTest> { static const
 
 </details>
 
-----------
 
 
 ## Initial and boundary conditions (`problem_1p.hh`)
@@ -274,7 +273,6 @@ Fluid properties that depend on temperature will be calculated with this value.
 ```
 
 
-----------
 
 
 ## Parameter distributions (`spatialparams_1p.hh`)
@@ -438,4 +436,3 @@ private:
 
 </details>
 
-----------
diff --git a/examples/1ptracer/doc/main.md b/examples/1ptracer/doc/main.md
index eeb5589950f5909e6946b2be9ede67a30ba8c3b5..89137a34275791aec347b7620f55f115ab7394a7 100644
--- a/examples/1ptracer/doc/main.md
+++ b/examples/1ptracer/doc/main.md
@@ -408,4 +408,3 @@ catch (...)
 
 </details>
 
-----------
diff --git a/examples/1ptracer/doc/tracermodel.md b/examples/1ptracer/doc/tracermodel.md
index 681a1abbd57bce5a3384927fdc3a88b5cbf64b6c..3a6f3ac2c04cb52f72d989407437d5c4a9b636e0 100644
--- a/examples/1ptracer/doc/tracermodel.md
+++ b/examples/1ptracer/doc/tracermodel.md
@@ -209,7 +209,6 @@ struct SolutionDependentMolecularDiffusion<TypeTag, TTag::TracerTest>
 
 </details>
 
-----------
 
 
 ## Initial and boundary conditions (`problem_tracer.hh`)
@@ -361,7 +360,6 @@ private:
 ```
 
 
-----------
 
 
 ## Parameter distributions (`spatialparams_tracer.hh`)
@@ -497,4 +495,3 @@ private:
 ```
 
 
-----------
diff --git a/examples/2pinfiltration/README.md b/examples/2pinfiltration/README.md
index b0d3814b7a7764f8af9ee760d59f7382961401d8..3ba9f6e4f49f2ea43fd0bf43beb18ac1a6263311 100644
--- a/examples/2pinfiltration/README.md
+++ b/examples/2pinfiltration/README.md
@@ -240,7 +240,6 @@ we have a convenience definition of the position of the lens
 
 </details>
 
-----------
 
 
 ## The file `problem.hh`
@@ -459,7 +458,6 @@ private:
 
 </details>
 
-----------
 
 
 ## The file `properties.hh`
@@ -587,7 +585,6 @@ struct Formulation<TypeTag, TTag::PointSourceExample>
 
 </details>
 
-----------
 
 
 ## The file `main.cc`
@@ -1119,4 +1116,3 @@ catch (...)
 
 </details>
 
-----------
diff --git a/examples/freeflowchannel/README.md b/examples/freeflowchannel/README.md
index 71899e09ca7060c11a86db0a81fe9b28388abbcf..d7221b3877a7b8a7b7fb858eef7aaa8b4848e63d 100644
--- a/examples/freeflowchannel/README.md
+++ b/examples/freeflowchannel/README.md
@@ -106,7 +106,6 @@ struct EnableGridGeometryCache<TypeTag, TTag::ChannelExample> { static constexpr
 ```
 
 
-----------
 
 
 ## The file `problem.hh`
@@ -316,7 +315,6 @@ Finally, private variables are declared:
 </details>
 
 
-----------
 
 
 ## The file `main.cc`
@@ -607,4 +605,3 @@ catch (...)
 </details>
 
 
-----------
diff --git a/examples/generate_example_docs.py b/examples/generate_example_docs.py
index 39e8f3653f5fd4be495eefbf2b8e0c2041fd7f24..dc97ba7da5b7a13abcfbe48e7087a3f8a0cafc76 100755
--- a/examples/generate_example_docs.py
+++ b/examples/generate_example_docs.py
@@ -28,7 +28,7 @@ def convertToMarkdownAndMerge(dir, config):
                 elif fileExtension == ".hh" or fileExtension == ".cc":
                     with open(os.path.join(dir, source), "r") as cppCode:
                         sourceRelPath = os.path.relpath(os.path.abspath(os.path.join(dir, source)), os.path.split(os.path.abspath(targetPath))[0])
-                        targetFile.write("\n\n" + transformCode(cppCode.read(), cppRules(), sourceRelPath) + "\n----------\n")
+                        targetFile.write("\n\n" + transformCode(cppCode.read(), cppRules(), sourceRelPath) + "\n")
                 else:
                     raise IOError("Unsupported or unknown file extension *{}".format(fileExtension))
 
diff --git a/examples/shallowwaterfriction/README.md b/examples/shallowwaterfriction/README.md
index 82512d4a23b6689ddf11522e1af9c47cd4a41fea..e71e3b5460a30c7589f9125a087fcd65de40fefd 100644
--- a/examples/shallowwaterfriction/README.md
+++ b/examples/shallowwaterfriction/README.md
@@ -180,7 +180,6 @@ struct EnableGridGeometryCache<TypeTag, TTag::RoughChannel>
 ```
 
 
-----------
 
 
 ## The file `spatialparams.hh`
@@ -323,7 +322,6 @@ end of namespace Dumux.
 ```
 
 
-----------
 
 
 ## The file `problem.hh`
@@ -690,7 +688,6 @@ eps is used as a small value for the definition of the boundry conditions
 ```
 
 
-----------
 
 
 ## The file `main.cc`
@@ -1023,4 +1020,3 @@ catch (...)
 ```
 
 
-----------