diff options
author | dvs1 | 2025-02-23 13:35:04 +1000 |
---|---|---|
committer | dvs1 | 2025-02-23 13:35:04 +1000 |
commit | 94172037aef7c567ad2425c27fcdbef6c5acfc44 (patch) | |
tree | 998af5a8413b3d03b00b245b423878b660d4de6a | |
parent | Let's try auto scroll in both directions. (diff) | |
download | notYetAnotherWiki-94172037aef7c567ad2425c27fcdbef6c5acfc44.zip notYetAnotherWiki-94172037aef7c567ad2425c27fcdbef6c5acfc44.tar.gz notYetAnotherWiki-94172037aef7c567ad2425c27fcdbef6c5acfc44.tar.bz2 notYetAnotherWiki-94172037aef7c567ad2425c27fcdbef6c5acfc44.tar.xz |
Deal with debdog's color table.
-rw-r--r-- | TODO.md | 1 | ||||
-rwxr-xr-x | notYetAnotherWiki.lua | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,6 @@ Syntax highlighting in code blocks. | |||
14 | 14 | ||
15 | Bugs - | 15 | Bugs - |
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 | ||
20 | Check the timestamps on the files, only update if source is newer than destination. Meh, it's already 600 times faster than the pandoc version. | 19 | Check 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) |