summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/gentium-tug/GentiumPlus-6.101/documentation/source/pandocfilters/filter-html.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/gentium-tug/GentiumPlus-6.101/documentation/source/pandocfilters/filter-html.lua')
-rw-r--r--Master/texmf-dist/doc/fonts/gentium-tug/GentiumPlus-6.101/documentation/source/pandocfilters/filter-html.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/gentium-tug/GentiumPlus-6.101/documentation/source/pandocfilters/filter-html.lua b/Master/texmf-dist/doc/fonts/gentium-tug/GentiumPlus-6.101/documentation/source/pandocfilters/filter-html.lua
new file mode 100644
index 00000000000..31ed5a3c421
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/gentium-tug/GentiumPlus-6.101/documentation/source/pandocfilters/filter-html.lua
@@ -0,0 +1,10 @@
+function Link(el)
+ el.target = string.gsub(el.target, "%.md", ".html")
+ el.target = string.gsub(el.target, "%.rawmd", ".md")
+ return el
+end
+
+function CodeBlock(el)
+ el.text = string.gsub(el.text, "(.+)", " %0")
+ return el
+end