summaryrefslogtreecommitdiff
path: root/doc/mkdocs/lua_highlight.patch
diff options
context:
space:
mode:
Diffstat (limited to 'doc/mkdocs/lua_highlight.patch')
-rw-r--r--doc/mkdocs/lua_highlight.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/mkdocs/lua_highlight.patch b/doc/mkdocs/lua_highlight.patch
index bd97612e5..034a63a33 100644
--- a/doc/mkdocs/lua_highlight.patch
+++ b/doc/mkdocs/lua_highlight.patch
@@ -7,3 +7,13 @@
self.linenums = linenums
self.guess_lang = guess_lang
self.css_class = css_class
+@@ -119,7 +119,8 @@
+ cssclass=self.css_class,
+ style=self.style,
+ noclasses=self.noclasses,
+- hl_lines=self.hl_lines)
++ hl_lines=self.hl_lines,
++ wrapcode=True)
+ return highlight(self.src, lexer, formatter)
+ else:
+ # just escape and build markup usable by JS highlighting libs