From 9578d87d8b437d4fa08fe76c4857fb277b627ddc Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Fri, 13 May 2022 11:56:26 +0200 Subject: [PATCH] Schema: Minor improvement to MD gen --- schema.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/schema.lua b/schema.lua index ae8341a..e8f655e 100644 --- a/schema.lua +++ b/schema.lua @@ -141,14 +141,14 @@ function generate_markdown(self) end if self.range then if self.range.min then - line(">= " .. self.range.min) + line(">= `" .. self.range.min .. "`") elseif self.range.min_exclusive then - line("> " .. self.range.min_exclusive) + line("> `" .. self.range.min_exclusive .. "`") end if self.range.max then - line("<= " .. self.range.max) + line("<= `" .. self.range.max .. "`") elseif self.range.max_exclusive then - line("< " .. self.range.max_exclusive) + line("< `" .. self.range.max_exclusive .. "`") end end if self.values then