aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/notYetAnotherWiki.lua
diff options
context:
space:
mode:
authordvs12025-03-20 20:28:27 +1000
committerdvs12025-03-20 20:28:27 +1000
commitd7acdfd67f05aaf68381f9372fc960c4e8f5dd6b (patch)
tree4d565324c69e39f9f477fbc7bb00c681754140bc /notYetAnotherWiki.lua
parentMinor TODO tweaks. (diff)
downloadnotYetAnotherWiki-d7acdfd67f05aaf68381f9372fc960c4e8f5dd6b.zip
notYetAnotherWiki-d7acdfd67f05aaf68381f9372fc960c4e8f5dd6b.tar.gz
notYetAnotherWiki-d7acdfd67f05aaf68381f9372fc960c4e8f5dd6b.tar.bz2
notYetAnotherWiki-d7acdfd67f05aaf68381f9372fc960c4e8f5dd6b.tar.xz
A better symbol for going up to the top.
Diffstat (limited to 'notYetAnotherWiki.lua')
-rwxr-xr-xnotYetAnotherWiki.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index c5814f3..364030f 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -763,7 +763,7 @@ function Writer.header(s, level)
763 local text = Lunamark.util.rope_to_string(s) 763 local text = Lunamark.util.rope_to_string(s)
764-- FIXME - Work around a bug in Lunamark? 764-- FIXME - Work around a bug in Lunamark?
765 text = RE.gsub(text, "{[\\]}", "") 765 text = RE.gsub(text, "{[\\]}", "")
766 return '<h' .. level .. ' id="' .. RE.gsub(text, '{[ ]}', '_') .. '">' .. text .. ' <a style="font-size: 0.42em;" href="#top">👆</a></h' .. level .. '>' 766 return '<h' .. level .. ' id="' .. RE.gsub(text, '{[ ]}', '_') .. '">' .. text .. ' <a style="font-size: 0.42em;" href="#top">🔼</a></h' .. level .. '>'
767end 767end
768local OgWriterLink = Writer.link -- So we can call the original from within mine, we are just changing the URL. 768local OgWriterLink = Writer.link -- So we can call the original from within mine, we are just changing the URL.
769function Writer.link(lab, url, tit) 769function Writer.link(lab, url, tit)