nixos/make-options-doc: Support newline md node

This occurs in the ast generated for blockquotes.
main
Robert Hensing 2 years ago
parent bccc3e747b
commit f900ed1749
  1. 2
      nixos/lib/make-options-doc/mergeJSON.py

@ -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…
Cancel
Save