Skip to content

Commit 69ddbdf

Browse files
committed
Update default string.
1 parent c8c8904 commit 69ddbdf

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

tkintermd/constants.py

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,34 @@
5555
"***", "___", "---", ">>> ", "### ", "```", "===",
5656
"####", "#####", "######",
5757
)
58-
default_md_string = """
59-
# Heading 1
58+
default_md_string = """# Heading 1
6059
## Heading 2
6160
### Heading 3
6261
#### Heading 4
6362
##### Heading 5
6463
###### Heading 6
6564
65+
Here is an `inline` code block.
66+
67+
```python
68+
# This is a fenced code block with the language defined.
69+
def foo():
70+
print("Bar")
71+
```
72+
73+
```
74+
# This is a fenced code block without the language defined.
75+
def foo():
76+
print("Bar")
77+
```
78+
6679
Heading 1
6780
=========
6881
6982
Heading 2
7083
---------
7184
7285
Some paragraph text.
73-
7486
Line Breaks with two spaces on the end of the line.
7587
Line two.
7688
Line three.
@@ -82,7 +94,6 @@
8294
- item three
8395
8496
Horizontal rule.
85-
8697
---
8798
8899
1. item one
@@ -91,16 +102,11 @@
91102
2. item two
92103
3. item three
93104
94-
_Italic_
95-
96105
*italic*
97-
106+
_Italic_
98107
**bold**
99-
100108
__Bold__
101-
102109
***Bold Italic***
103-
104110
___Bold Italic___
105111
106112
> Blockquotes.
@@ -110,19 +116,11 @@
110116
> Blockquotes.
111117
>
112118
>> Nested paragraphs with a >> symbol.
113-
114119
> #### Using other elements
115120
>
116121
> - works with blockquotes
117122
> - just like it would
118123
>
119124
> *do* **normally**.
120125
121-
122-
Here is an `inline` code block.
123-
124-
125-
```
126-
This is a fenced code block.
127-
```
128126
"""

0 commit comments

Comments
 (0)