aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/macros.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/macros.m4 b/utils/macros.m4
new file mode 100644
index 0000000..445846c
--- /dev/null
+++ b/utils/macros.m4
@@ -0,0 +1,17 @@
1m4_divert(-1)
2m4_changequote(`{{{{{', `}}}}}')
3
4This file contains some m4 macros that can be used to preprocess md files.
5
6m4_divert(1)
7
8m4_define({{{{{m4_navtable}}}}},
9{{{{{<table style="width: 100%; table-layout: fixed;"> <thead> <tr>
10 <th style="text-align: left"> <a href="$2">$1</a> </th>
11 <th style="text-align: center"> <a href="$4">$3</a> </th>
12 <th style="text-align: right"> <a href="$6">$5</a> </th>
13</tr> </thead> </table>}}}}})
14
15m4_define({{{{{m4_caption}}}}}, {{{{{<p align="center"><em>$1</em></p>}}}}})
16
17m4_divert(0)m4_dnl

Generated with cgit - Back to sebastiano.tronto.net