Skip to content

Commit 7a14780

Browse files
committed
Remove CHANGELOG.md and update version number in md2term.py from 1.0.1 to 1.0.2. Update snapshots in tests to reflect version change and improve formatting in test outputs.
1 parent b05fb5c commit 7a14780

File tree

3 files changed

+41
-57
lines changed

3 files changed

+41
-57
lines changed

CHANGELOG.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

md2term.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
click.rich_click.STYLE_HELPTEXT = "" # Remove dim styling from help text
2424

2525

26-
__version__ = "1.0.1"
26+
__version__ = "1.0.2"
2727

2828

2929
class TerminalRenderer:

tests/__snapshots__/test_md2term.ambr

Lines changed: 40 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# ---
3535
# name: TestCLIInterface.test_cli_version
3636
'''
37-
main, version 1.0.1
37+
main, version 1.0.2
3838

3939
'''
4040
# ---
@@ -141,15 +141,14 @@
141141

142142
Ingredients:
143143

144-
• Crust:
145-
• 2 cups graham cracker crumbs (about 40 full crackers)
146-
• 1/3 cup granulated sugar
147-
• 1/2 cup unsalted butter, melted
148-
• Cheese Filling:
149-
• 4 packages (8 oz each) cream cheese, at room temperature
150-
• 1 cup granulated sugar
151-
• 1 tablespoon vanilla extract
152-
• 4 large eggs
144+
• Crust:• 2 cups graham cracker crumbs (about 40 full crackers)
145+
• 1/3 cup granulated sugar
146+
• 1/2 cup unsalted butter, melted
147+
• Cheese Filling:• 4 packages (8 oz each) cream cheese, at room
148+
temperature
149+
• 1 cup granulated sugar
150+
• 1 tablespoon vanilla extract
151+
• 4 large eggs
153152

154153
'''
155154
# ---
@@ -394,15 +393,12 @@
394393
# ---
395394
# name: TestMarkdownFeatures.test_deeply_nested_lists
396395
'''
397-
• Level 1 item
398-
• Level 2 item
399-
• Level 3 item
400-
• Level 4 item
401-
• Another level 3 item
402-
• Another level 2 item
403-
• Another level 1 item
404-
• Level 2 under second item
405-
• Level 3 under second item
396+
• Level 1 item• Level 2 item• Level 3 item• Level 4
397+
item
398+
• Another level 3 item
399+
• Another level 2 item
400+
• Another level 1 item• Level 2 under second item• Level 3
401+
under second item
406402

407403
'''
408404
# ---
@@ -448,15 +444,12 @@
448444
# ---
449445
# name: TestMarkdownFeatures.test_mixed_list_types
450446
'''
451-
1. First ordered item
452-
• Unordered sub-item
453-
• Another unordered sub-item
454-
1. Nested ordered item
455-
2. Another nested ordered item
456-
2. Second ordered item
457-
• Mixed content here
458-
• Deep nesting
459-
1. Very deep ordered item
447+
1. First ordered item• Unordered sub-item
448+
• Another unordered sub-item1. Nested ordered item
449+
2. Another nested ordered item
450+
2. Second ordered item• Mixed content here• Deep
451+
nesting1. Very deep ordered
452+
item
460453

461454
'''
462455
# ---
@@ -474,32 +467,28 @@
474467

475468
Ingredients:
476469

477-
• Crust:
478-
• 2 cups graham cracker crumbs (about 40 full crackers)
479-
• 1/3 cup granulated sugar
480-
• 1/2 cup unsalted butter, melted
481-
• Cheese Filling:
482-
• 4 packages (8 oz each) cream cheese, at room temperature
483-
• 1 cup granulated sugar
484-
• 1 tablespoon vanilla extract
485-
• 4 large eggs
470+
• Crust:• 2 cups graham cracker crumbs (about 40 full crackers)
471+
• 1/3 cup granulated sugar
472+
• 1/2 cup unsalted butter, melted
473+
• Cheese Filling:• 4 packages (8 oz each) cream cheese, at room
474+
temperature
475+
• 1 cup granulated sugar
476+
• 1 tablespoon vanilla extract
477+
• 4 large eggs
486478

487479
Instructions:
488480

489-
1. Prepare the crust:
490-
1. Preheat oven to 350°F (175°C)
491-
2. Mix graham cracker crumbs and sugar
492-
3. Add melted butter and mix well
493-
4. Press into bottom of springform pan
494-
2. Make the filling:
495-
1. Beat cream cheese until smooth
496-
2. Gradually add sugar
497-
3. Add vanilla extract
498-
4. Beat in eggs one at a time
499-
3. Bake and cool:
500-
1. Pour filling over crust
501-
2. Bake for 50-60 minutes
502-
3. Cool completely before serving
481+
1. Prepare the crust:1. Preheat oven to 350°F (175°C)
482+
2. Mix graham cracker crumbs and sugar
483+
3. Add melted butter and mix well
484+
4. Press into bottom of springform pan
485+
2. Make the filling:1. Beat cream cheese until smooth
486+
2. Gradually add sugar
487+
3. Add vanilla extract
488+
4. Beat in eggs one at a time
489+
3. Bake and cool:1. Pour filling over crust
490+
2. Bake for 50-60 minutes
491+
3. Cool completely before serving
503492

504493
'''
505494
# ---

0 commit comments

Comments
 (0)