mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-03 19:03:47 +02:00
TXT Markdown Input: Change handling of _ to work mid word. _ will need to be escaped as \_ to not be changed to a style.
This commit is contained in:
parent
8f95d10d27
commit
b161102897
1 changed files with 2 additions and 1 deletions
|
|
@ -65,7 +65,8 @@
|
|||
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
|
||||
#SMART_EMPHASIS = True # this_or_that does not become this<i>or</i>that
|
||||
SMART_EMPHASIS = False # this_or_that needs to have _ escaped as \_.
|
||||
DEFAULT_OUTPUT_FORMAT = 'xhtml1' # xhtml or html4 output
|
||||
HTML_REMOVED_TEXT = "[HTML_REMOVED]" # text used instead of HTML in safe mode
|
||||
BLOCK_LEVEL_ELEMENTS = re.compile("p|div|h[1-6]|blockquote|pre|table|dl|ol|ul"
|
||||
|
|
|
|||
Loading…
Reference in a new issue