aboutsummaryrefslogtreecommitdiff
path: root/crystfel.rb
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-02-01 15:52:55 +0100
committerThomas White <taw@physics.org>2024-02-01 15:54:54 +0100
commit2757cae1c9b2b7753d121668c93da65cdc75cfef (patch)
tree487f970777bc24a36cf6044f3b11dd9659d32466 /crystfel.rb
parent7212fb1e28e95a0d38456376dfc5b48fe2f3d004 (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 'crystfel.rb')
0 files changed, 0 insertions, 0 deletions