mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-26 01:03:46 +01:00
Schema: Minor improvement to MD gen
This commit is contained in:
parent
fb89c85c66
commit
9578d87d8b
@ -141,14 +141,14 @@ function generate_markdown(self)
|
|||||||
end
|
end
|
||||||
if self.range then
|
if self.range then
|
||||||
if self.range.min then
|
if self.range.min then
|
||||||
line(">= " .. self.range.min)
|
line(">= `" .. self.range.min .. "`")
|
||||||
elseif self.range.min_exclusive then
|
elseif self.range.min_exclusive then
|
||||||
line("> " .. self.range.min_exclusive)
|
line("> `" .. self.range.min_exclusive .. "`")
|
||||||
end
|
end
|
||||||
if self.range.max then
|
if self.range.max then
|
||||||
line("<= " .. self.range.max)
|
line("<= `" .. self.range.max .. "`")
|
||||||
elseif self.range.max_exclusive then
|
elseif self.range.max_exclusive then
|
||||||
line("< " .. self.range.max_exclusive)
|
line("< `" .. self.range.max_exclusive .. "`")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if self.values then
|
if self.values then
|
||||||
|
Loading…
Reference in New Issue
Block a user