mirror of
https://github.com/tildeclub/site.git
synced 2026-01-24 05:50:17 +00:00
add styling and use section symbol instead
This commit is contained in:
@@ -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