From d6764ff37ab4546b646de77939e8a19a34ae0ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Klete=C4=8Dka?= Date: Wed, 11 May 2016 11:30:57 +0200 Subject: [PATCH] Find markdown files with short suffix (#3525) --- website/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/Makefile b/website/Makefile index af5f71039..b703f68fb 100644 --- a/website/Makefile +++ b/website/Makefile @@ -13,5 +13,5 @@ format: bundle exec htmlbeautifier -t 2 source/*.erb bundle exec htmlbeautifier -t 2 source/layouts/*.erb @pandoc -v > /dev/null || echo "pandoc must be installed in order to format markdown content" - pandoc -v > /dev/null && find . -iname "*.html.markdown" | xargs -I{} bash -c "pandoc -r markdown -w markdown --tab-stop=4 --atx-headers -s --columns=80 {} > {}.new"\; || true - pandoc -v > /dev/null && find . -iname "*.html.markdown" | xargs -I{} bash -c "mv {}.new {}"\; || true + pandoc -v > /dev/null && find . -iname "*.html.md" | xargs -I{} bash -c "pandoc -r markdown -w markdown --tab-stop=4 --atx-headers -s --columns=80 {} > {}.new"\; || true + pandoc -v > /dev/null && find . -iname "*.html.md" | xargs -I{} bash -c "mv {}.new {}"\; || true