diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-10-14 21:28:19 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-10-14 21:28:19 +0200 |
| commit | 8158f66bb4842defd222b0989af3a6f621be212b (patch) | |
| tree | 5564e440dde2fe491acf265a30234252bece4989 /utils/macros.m4 | |
| parent | 63d34b144553b7a5c683125588912bea075ef6a9 (diff) | |
| download | sebastiano.tronto.net-8158f66bb4842defd222b0989af3a6f621be212b.tar.gz sebastiano.tronto.net-8158f66bb4842defd222b0989af3a6f621be212b.zip | |
Added Alta Via 2 pages (hidden)
Diffstat (limited to 'utils/macros.m4')
| -rw-r--r-- | utils/macros.m4 | 17 |
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 @@ | |||
| 1 | m4_divert(-1) | ||
| 2 | m4_changequote(`{{{{{', `}}}}}') | ||
| 3 | |||
| 4 | This file contains some m4 macros that can be used to preprocess md files. | ||
| 5 | |||
| 6 | m4_divert(1) | ||
| 7 | |||
| 8 | m4_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 | |||
| 15 | m4_define({{{{{m4_caption}}}}}, {{{{{<p align="center"><em>$1</em></p>}}}}}) | ||
| 16 | |||
| 17 | m4_divert(0)m4_dnl | ||
