aboutsummaryrefslogtreecommitdiffstats
path: root/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'markdown')
-rw-r--r--markdown/commandline.py3
-rw-r--r--markdown/util.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/markdown/commandline.py b/markdown/commandline.py
index dce2b8a..049d2be 100644
--- a/markdown/commandline.py
+++ b/markdown/commandline.py
@@ -10,6 +10,9 @@ import optparse
import logging
from logging import DEBUG, INFO, WARN, ERROR, CRITICAL
+# default logging level for command-line use
+COMMAND_LINE_LOGGING_LEVEL = CRITICAL
+
def parse_options():
"""
Define and parse `optparse` options for command-line usage.
diff --git a/markdown/util.py b/markdown/util.py
index 4890b89..c170368 100644
--- a/markdown/util.py
+++ b/markdown/util.py
@@ -15,8 +15,7 @@ Constants you might want to modify
-----------------------------------------------------------------------------
"""
-# default logging level for command-line use
-COMMAND_LINE_LOGGING_LEVEL = CRITICAL
+
TAB_LENGTH = 4 # expand tabs to this many spaces
ENABLE_ATTRIBUTES = True # @id = xyz -> <... id="xyz">
SMART_EMPHASIS = True # this_or_that does not become this<i>or</i>that