mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -65,7 +65,8 @@ Constants you might want to modify
|
||||
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…
x
Reference in New Issue
Block a user