aboutsummaryrefslogtreecommitdiff
path: root/.pandoc
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-06-11 13:38:46 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-06-11 13:38:46 -0400
commit217eb51280dc6e1caf3e393066a9fd084e125190 (patch)
tree3472663d19a514329753a46d984859383eae6652 /.pandoc
parente9ba4411c90e1d2bab79807d54e01573225ee702 (diff)
Add manpage
Diffstat (limited to '.pandoc')
-rw-r--r--.pandoc/bold-code.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/.pandoc/bold-code.lua b/.pandoc/bold-code.lua
new file mode 100644
index 00000000..02ed1891
--- /dev/null
+++ b/.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