mirror of
https://github.com/tildeclub/site.git
synced 2026-01-23 21:40:18 +00:00
add styling and use section symbol instead
This commit is contained in:
@@ -53,6 +53,10 @@ h1 {
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
.sourceCode {
|
||||
color:#06287e;
|
||||
}
|
||||
|
||||
/* Style the navbar */
|
||||
#navbar {
|
||||
overflow: hidden;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
for page in source/*.md; do
|
||||
pagename=$(basename $page ".md")
|
||||
pagename=$(basename $page ".md")
|
||||
printf "building %s wiki article\n" "$pagename"
|
||||
|
||||
pandoc \
|
||||
pandoc \
|
||||
--template wiki.tmpl \
|
||||
--lua-filter header-permalinks.lua \
|
||||
-T "tilde.club wiki | " \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
function Header(elem)
|
||||
table.insert(elem.content, pandoc.Space())
|
||||
table.insert(elem.content, pandoc.Link("🔗", "#" .. elem.identifier))
|
||||
table.insert(elem.content, pandoc.Link("§", "#" .. elem.identifier))
|
||||
return elem
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user