diff options
-rw-r--r-- | .mdl.rb | 6 | ||||
-rw-r--r-- | Makefile | 7 |
2 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,6 @@ +all +rule 'MD003', :style => :atx +rule 'MD004', :style => :asterisk +rule 'MD007', :indent => 4 +rule 'MD013', :ignore_code_blocks => true, :tables => true +rule 'MD035', :style => '---' @@ -8,6 +8,8 @@ ARTICLES = learn code use worlding PERL_FILES = bin/hedgedoc2quarto bin/xmp2rdfxml +TIDY_MARKDOWN = worlding + export HEDGEDOC_COOKIES_FILE = $(CURDIR)/cookies.txt export HEDGEDOC_SERVER = https://pad.degrowth.net/ @@ -76,6 +78,11 @@ $(ARTICLES:%=pad-import-%): pad-import-%: pad-import-ref: hedgedoc import ref.bib +lint: lint-markdown + +lint-markdown: + mdl --ignore-front-matter --style .mdl.rb $(addsuffix /*.qmd,$(TIDY_MARKDOWN)) + tidy: tidy-bibtex tidy-perl tidy-bibtex: |