Constants
tkintermd.constants
¶
Variables and constants to be used by tkintermd.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
cur_file |
Path
|
Variable for tracking current open file. |
required |
edit_warning |
str
|
Warning message displayed to user when enabling edit before export functionality. |
required |
template_list |
list
|
List of available template names. |
required |
template_dict |
dict
|
Dictionary containing lists of template values linked with the appropriate name. |
required |
BOLD_MD_SYNTAX |
tuple
|
Markdown syntax for bold highlighting. |
required |
BOLD_MD_IGNORE |
tuple
|
Markdown syntax to ignore for bold highlighting. |
required |
BOLD_MD_SPECIAL |
tuple
|
Markdown syntax to ignore for bold highlighting that requires special handling. |
required |
ITALIC_MD_SYNTAX |
tuple
|
Markdown syntax for italic highlighting. |
required |
ITALIC_MD_IGNORE |
tuple
|
Markdown syntax to ignore for italic highlighting. |
required |
ITALIC_MD_SPECIAL |
tuple
|
Markdown syntax to ignore for italic highlighting that requires special handling. |
required |
BOLD_ITALIC_MD_SYNTAX |
tuple
|
Markdown syntax for bold-italic highlighting. |
required |
BOLD_ITALIC_MD_IGNORE |
tuple
|
Markdown syntax to ignore for bold-italic highlighting. |
required |
BOLD_ITALIC_MD_SPECIAL |
tuple
|
Markdown syntax to ignore for bold-italic highlighting that requires special handling. |
required |
STRIKETHROUGH_MD_SYNTAX |
tuple
|
Markdown syntax for strikethrough highlighting. |
required |
STRIKETHROUGH_MD_IGNORE |
tuple
|
Markdown syntax to ignore for strikethrough highlighting. |
required |
DEFAULT_MD_STRING |
str
|
Default string to show in the editor when it loads. |
required |
DEFAULT_TEMPLATE_TOP |
str
|
Default template, top portion. |
required |
DEFAULT_TEMPLATE_MIDDLE |
str
|
Default template, middle portion. |
required |
DEFAULT_TEMPLATE_BOTTOM |
str
|
Default template, bottom portion. |
required |
CENTERED_TEMPLATE_TOP |
str
|
Centered template, top portion. |
required |
CENTERED_TEMPLATE_MIDDLE |
str
|
Centered template, middle portion. |
required |
CENTERED_TEMPLATE_BOTTOM |
str
|
Centered template, bottom portion. |
required |