Skip to content

Commit

Permalink
Constants file for tkintermd.
Browse files Browse the repository at this point in the history
  • Loading branch information
hreikin committed Apr 2, 2022
1 parent 8ab23a7 commit 4cd34c1
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions tkintermd/tkintermd_constants.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
from pathlib import Path

# This is the only variable to be changed from elsewhere. All the rest should
# remain constant.
cur_file = Path()

default_md_string = """
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Heading 1
=========
Heading 2
---------
Some paragraph text.
Line Breaks with two spaces on the end of the line.
Line two.
Line three.
- item one
- item two
- item one
- item two
- item three
Horizontal rule.
---
1. item one
2. item two
1. item one
2. item two
3. item three
_Italic_
*italic*
**bold**
__Bold__
***Bold Italic***
___Bold Italic___
> Blockquotes.
>
> Multiple paragraphs with a > symbol on the empty line.
> Blockquotes.
>
>> Nested paragraphs with a >> symbol.
> #### Using other elements
>
> - works with blockquotes
> - just like it would
>
> *do* **normally**.
Here is an `inline` code block.
```
This is a fenced code block.
```
"""

0 comments on commit 4cd34c1

Please sign in to comment.