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
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ def convertMD(options: Dict[str, Any]) -> str:
|
|||
return escape(text)
|
||||
def paragraph(self, text):
|
||||
return text + "\n\n"
|
||||
def newline(self):
|
||||
return "<literallayout>\n</literallayout>"
|
||||
def codespan(self, text):
|
||||
return f"<literal>{text}</literal>"
|
||||
def block_code(self, text, info=None):
|
||||
|
|
Loading…
Reference in a new issue