From dc648a5368b80256bd38752db9e1028ecf943f67 Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Mon, 14 Oct 2024 23:36:48 +0100 Subject: [PATCH] Work around a pandoc formatting bug with .OP when it wraps to have a square bracket at the start of the line. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 9a160a1..2e72ccf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -88,7 +88,7 @@ EXTRA_DIST += $(TESTS) tests/run-valgrind.sh tests/test-env.sh docs/pv.1.md: $(srcdir)/docs/pv.1 test -d docs || mkdir docs - pandoc --from man --to markdown < $< | sed '/\*\*\*\*/{s/\*//g;s/^/**/;s/$$/**/}' | sed '/^```/,/^```/d' > $@ + pandoc --from man --to markdown < $< | sed '/\*\*\*\*/{s/\*//g;s/^/**/;s/$$/**/}' | sed '/^```/,/^```/d' | sed 's/^\\\[/[/' > $@ SUFFIXES = .c .o .e