diff options
author | Thomas White <taw@physics.org> | 2024-02-01 15:52:55 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2024-02-01 15:54:54 +0100 |
commit | 2757cae1c9b2b7753d121668c93da65cdc75cfef (patch) | |
tree | 487f970777bc24a36cf6044f3b11dd9659d32466 /src/ambigator.c | |
parent | 7212fb1e28e95a0d38456376dfc5b48fe2f3d004 (diff) |
Meson: Fallback for older Pandoc versions
Pandoc >=2.0.0 needs "-f markdown-smart", which requests (amongst some
other things) not to convert "--" to an en-dash. We have a lot of
double hyphens in the documentation, and I would prefer not to have to
escape every single one of them.
Older Pandoc versions don't recognise "-smart", but also don't do the
en-dash thing by default. Here, we can simply use "-f markdown".
Note that older Pandoc versions don't quite render the manual pages
correctly, but it's near enough.
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/90
Diffstat (limited to 'src/ambigator.c')
0 files changed, 0 insertions, 0 deletions