mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-26 01:03:46 +01:00
Schema: Improved MD gen: Newline after headings
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user