nixos/make-options-doc: Support block quotes
Our tooling would trip without the inner <para>, despite the docbook docs suggesting that <para> occurs in <blockquote> and vice versa.
This commit is contained in:
@@ -104,6 +104,8 @@ def convertMD(options: Dict[str, Any]) -> str:
|
||||
# a single paragraph and the original docbook string is no longer
|
||||
# available to restore the trailer.
|
||||
return f"<{tag}><para>{text.rstrip()}</para></{tag}>"
|
||||
def block_quote(self, text):
|
||||
return f"<blockquote><para>{text}</para></blockquote>"
|
||||
def command(self, text):
|
||||
return f"<command>{escape(text)}</command>"
|
||||
def option(self, text):
|
||||
|
||||
Reference in New Issue
Block a user