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;
|
animation-iteration-count: infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sourceCode {
|
||||||
|
color:#06287e;
|
||||||
|
}
|
||||||
|
|
||||||
/* Style the navbar */
|
/* Style the navbar */
|
||||||
#navbar {
|
#navbar {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
for page in source/*.md; do
|
for page in source/*.md; do
|
||||||
pagename=$(basename $page ".md")
|
pagename=$(basename $page ".md")
|
||||||
printf "building %s wiki article\n" "$pagename"
|
printf "building %s wiki article\n" "$pagename"
|
||||||
|
|
||||||
pandoc \
|
pandoc \
|
||||||
--template wiki.tmpl \
|
--template wiki.tmpl \
|
||||||
--lua-filter header-permalinks.lua \
|
--lua-filter header-permalinks.lua \
|
||||||
-T "tilde.club wiki | " \
|
-T "tilde.club wiki | " \
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
function Header(elem)
|
function Header(elem)
|
||||||
table.insert(elem.content, pandoc.Space())
|
table.insert(elem.content, pandoc.Space())
|
||||||
table.insert(elem.content, pandoc.Link("🔗", "#" .. elem.identifier))
|
table.insert(elem.content, pandoc.Link("§", "#" .. elem.identifier))
|
||||||
return elem
|
return elem
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user