aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordvs12025-02-23 13:35:04 +1000
committerdvs12025-02-23 13:35:04 +1000
commit94172037aef7c567ad2425c27fcdbef6c5acfc44 (patch)
tree998af5a8413b3d03b00b245b423878b660d4de6a
parentLet's try auto scroll in both directions. (diff)
downloadnotYetAnotherWiki-94172037aef7c567ad2425c27fcdbef6c5acfc44.zip
notYetAnotherWiki-94172037aef7c567ad2425c27fcdbef6c5acfc44.tar.gz
notYetAnotherWiki-94172037aef7c567ad2425c27fcdbef6c5acfc44.tar.bz2
notYetAnotherWiki-94172037aef7c567ad2425c27fcdbef6c5acfc44.tar.xz
Deal with debdog's color table.
-rw-r--r--TODO.md1
-rwxr-xr-xnotYetAnotherWiki.lua1
2 files changed, 1 insertions, 1 deletions
diff --git a/TODO.md b/TODO.md
index f597507..0da95b9 100644
--- a/TODO.md
+++ b/TODO.md
@@ -14,7 +14,6 @@ Syntax highlighting in code blocks.
14 14
15Bugs - 15Bugs -
16 16
17- /users/Debdog.HTML   pandoc can't handle the background table cell colours in the "Background colours" table, which is kinda the point of it.
18- /users/dunno/Devuan Cluster.HTML   A very lengthy and complex document, I'll likely miss something, but chip away at the obvious. Lots of colour shenanigans. 17- /users/dunno/Devuan Cluster.HTML   A very lengthy and complex document, I'll likely miss something, but chip away at the obvious. Lots of colour shenanigans.
19 18
20Check the timestamps on the files, only update if source is newer than destination. Meh, it's already 600 times faster than the pandoc version. 19Check the timestamps on the files, only update if source is newer than destination. Meh, it's already 600 times faster than the pandoc version.
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index a19c982..fdb5903 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -119,6 +119,7 @@ local toFile = function(name, key, value)
119 {"::: {."[A-Za-z_. ]+"}"} -> '' / 119 {"::: {."[A-Za-z_. ]+"}"} -> '' /
120 {":::"} -> '' / 120 {":::"} -> '' /
121 {"-noComment-"} -> ' -- ' / 121 {"-noComment-"} -> ' -- ' /
122 {"| bgcolor=#" {([^ ])+} " " } -> "| <span style='background: #%2;'> bgcolor=#%2 </span> " / -- Deal with debdog's color table.
122 {"{#"[A-Za-z_]+"}"} -> '' / 123 {"{#"[A-Za-z_]+"}"} -> '' /
123 . 124 .
124 )* ~}]=], { } ):match(body) 125 )* ~}]=], { } ):match(body)