Commit 60452dce authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Mark internal sections in both versions

/close #78
parent c8565428
...@@ -355,10 +355,14 @@ class Fork(Element): ...@@ -355,10 +355,14 @@ class Fork(Element):
return "\n".join([begin_line, content_lines, end_line]) return "\n".join([begin_line, content_lines, end_line])
elif self.test_private(self.name): elif self.test_private(self.name):
if show_private: if show_private:
return content_lines # font: \fontfamily{lmr}\selectfont
return (r"\textit{Interner Abschnitt:" + "\n"
+ r"\begin{itemize}" + "\n"
+ content_lines + "\n"
+ r"\end{itemize}}")
else: else:
# todo: bessere Formulierung finden # todo: bessere Formulierung finden
return "An dieser Stelle fand eine interne Diskussion statt." return r"\textit{[An dieser Stelle wurde intern protokolliert.]}"
else: else:
return "\n".join([name_line, begin_line, content_lines, end_line]) return "\n".join([name_line, begin_line, content_lines, end_line])
elif render_type == RenderType.wikitext: elif render_type == RenderType.wikitext:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment