1
Fork 0

Command to spellcheck

This commit is contained in:
Jan-Erik Rediger 2021-12-17 13:33:54 +01:00
parent 7519015b67
commit c682515ff0

View file

@ -32,3 +32,7 @@ rerun:
latest-html: ## Get latests post renderewd into HTML latest-html: ## Get latests post renderewd into HTML
@find _posts -type f | sort | tail -1 | xargs -I% pandoc -f markdown -t html % @find _posts -type f | sort | tail -1 | xargs -I% pandoc -f markdown -t html %
.PHONY: latest-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