lol

nixos/make-options-doc: disable inline html

we target not only html, but also manpages. inline html is not helpful
for the latter.

pennae 6b677d91 ba1f5331

+8 -1
+8 -1
nixos/lib/make-options-doc/optionsToDocbook.py
··· 194 194 195 195 class Converter: 196 196 def __init__(self, manpage_urls: Dict[str, str]): 197 - self._md = markdown_it.MarkdownIt(renderer_cls=Renderer) 197 + self._md = markdown_it.MarkdownIt( 198 + "commonmark", 199 + { 200 + 'maxNesting': 100, # default is 20 201 + 'html': False, # not useful since we target many formats 202 + }, 203 + renderer_cls=Renderer 204 + ) 198 205 # TODO maybe fork the plugin and have only a single rule for all? 199 206 self._md.use(container_plugin, name="{.note}") 200 207 self._md.use(container_plugin, name="{.important}")