aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKylie McClain <kylie@somas.is>2018-02-07 23:36:15 -0500
committerKylie McClain <kylie@somas.is>2018-02-07 23:36:35 -0500
commitfa109df5beb15cc9bc25c53689403bde1d87d19c (patch)
tree8d0a1e6d2661144bdd9e96056b543a6de750cbc3
parent123f28647e57675e6bfa0d6b1f65bc1ff48c4c27 (diff)
downloadmakedown-fa109df5beb15cc9bc25c53689403bde1d87d19c.tar.gz
makedown-fa109df5beb15cc9bc25c53689403bde1d87d19c.tar.xz
makedown-fa109df5beb15cc9bc25c53689403bde1d87d19c.zip
Allow for specifying MARKDOWN_FLAGS in makedown.conf
-rw-r--r--Makefile2
-rw-r--r--makedown.conf5
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 78d0a11..6e47cec 100644
--- a/Makefile
+++ b/Makefile
@@ -36,8 +36,6 @@ STYLE = $(addprefix $(WORK)/,$(shell MAKEDOWN=$(MAKEDOWN) SRCDIR=$(SRC
SCRIPT = $(addprefix $(WORK)/,$(shell MAKEDOWN=$(MAKEDOWN) SRCDIR=$(SRCDIR) WORK=$(WORK) IMAGE=$(IMAGE) $(MAKEDOWN)/find.sh script))
AUX = $(addprefix $(WORK)/,$(shell MAKEDOWN=$(MAKEDOWN) SRCDIR=$(SRCDIR) WORK=$(WORK) IMAGE=$(IMAGE) $(MAKEDOWN)/find.sh aux))
-MARKDOWN_FLAGS := alphalist,autolink,divquote,definitionlist,dldiscount,dlextra,emphasis,ext,fencedcode,footnotes,githubtags,html,image,latex,links,smarty,strict,strikethrough,style,superscript,tables,tabstop,html5anchor
-
include $(MAKEDOWN)/makedown.conf
-include $(SRCDIR)/makedown.conf
diff --git a/makedown.conf b/makedown.conf
index f153444..584bc3d 100644
--- a/makedown.conf
+++ b/makedown.conf
@@ -24,6 +24,11 @@ WIKI_LINKS = true
CHECK_LINKS_ON_WATCH = false
+# MARKDOWN_FLAGS = <markdown flags>
+# Flags (not arguments, markdown(1) -f flags) to pass to `markdown` when it is ran.
+
+MARKDOWN_FLAGS = alphalist,autolink,divquote,definitionlist,dldiscount,dlextra,emphasis,ext,fencedcode,footnotes,githubtags,html,image,latex,links,smarty,strict,strikethrough,style,superscript,tables,tabstop,html5anchor
+
# DEPLOY_ARGS = <rsync arguments>
# Arguments to pass to `rsync` when `deploy` is ran.
#