Schema: Improved MD gen: Newline after headings

This commit is contained in:
Lars Mueller 2020-12-28 18:26:28 +01:00
parent 900249f8f7
commit d0317cc5d8

@ -81,6 +81,7 @@ function generate_markdown(self)
value_scheme.title = value_scheme.title or self.title .. " " .. field_name_to_title(key)
value_scheme._md_level = self._md_level + 1
table.insert(settings, table.concat(modlib.table.repetition("#", self._md_level)) .. " `" .. key .. "`")
table.insert(settings, "")
table.insert(settings, generate_markdown(value_scheme))
table.insert(settings, "")
end