aboutsummaryrefslogtreecommitdiff
path: root/docs/.pandoc
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-21 21:52:12 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-21 21:52:12 -0400
commitc92e5eb1649ff35210e55e449c80d829eb0519ee (patch)
treee3539d043457259936a4fa5fdf476e19b92c3f4c /docs/.pandoc
parentc2cebc9f076229d6aa06899523465f3890d9d657 (diff)
Move pandoc stuff into docs/
Diffstat (limited to 'docs/.pandoc')
-rw-r--r--docs/.pandoc/bold-code.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/.pandoc/bold-code.lua b/docs/.pandoc/bold-code.lua
new file mode 100644
index 00000000..02ed1891
--- /dev/null
+++ b/docs/.pandoc/bold-code.lua
@@ -0,0 +1,9 @@
+-- Convert code to bold
+function Code(el)
+ return pandoc.Strong(el.text)
+end
+
+-- Convert code blocks to bold and indented
+function CodeBlock(el)
+ return pandoc.BlockQuote({pandoc.Para(pandoc.Strong(el.text))})
+end