nixos/make-options-doc: Support newline md node
This occurs in the ast generated for blockquotes.
This commit is contained in:
parent
bccc3e747b
commit
f900ed1749
|
@ -65,6 +65,8 @@ def convertMD(options: Dict[str, Any]) -> str:
|
||||||
return escape(text)
|
return escape(text)
|
||||||
def paragraph(self, text):
|
def paragraph(self, text):
|
||||||
return text + "\n\n"
|
return text + "\n\n"
|
||||||
|
def newline(self):
|
||||||
|
return "<literallayout>\n</literallayout>"
|
||||||
def codespan(self, text):
|
def codespan(self, text):
|
||||||
return f"<literal>{text}</literal>"
|
return f"<literal>{text}</literal>"
|
||||||
def block_code(self, text, info=None):
|
def block_code(self, text, info=None):
|
||||||
|
|
Loading…
Reference in a new issue