From c682515ff026d2286f733c77c0d0089b53d4581b Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Fri, 17 Dec 2021 13:33:54 +0100 Subject: [PATCH] Command to spellcheck --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index cbcbd9c..bf19276 100644 --- a/Makefile +++ b/Makefile @@ -32,3 +32,7 @@ rerun: latest-html: ## Get latests post renderewd into HTML @find _posts -type f | sort | tail -1 | xargs -I% pandoc -f markdown -t html % .PHONY: latest-html + +spellcheck: ## Spellcheck the latest post + aspell --lang en_US --mode=markdown check $(shell find _posts -type f | sort | tail -1) +.PHONY: spellcheck