diff --git a/otterwiki/renderer.py b/otterwiki/renderer.py
index b9af7f5..79dbbdd 100644
--- a/otterwiki/renderer.py
+++ b/otterwiki/renderer.py
@@ -148,6 +148,8 @@ def block_code(self, code, info=None):
html = "".join(
["\\[{}\\]".format(line) for line in code.strip().splitlines()]
)
+ # replace \n with
for convinient diagram writing (and match the github syntax)
+ code = code.replace("\\n","
")
return '\n
{}\n'.format( code.strip() )