Skip to content

Commit 8ddeefc

Browse files
committed
MD: TODO move parser?
1 parent 8fe7817 commit 8ddeefc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interpreter/terminal_interface/utils/streaming_markdown.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def detect_complete_block(markdown_text):
2323
"""
2424
try:
2525
# Enable non-default features to match Rich's parser configuration
26-
md = MarkdownIt().enable("strikethrough").enable("table")
26+
md = MarkdownIt().enable("strikethrough").enable("table") # TODO: move to file-level instead of defining in each call?
2727
md_tokens = md.parse(markdown_text)
2828

2929
lines = markdown_text.split('\n')

0 commit comments

Comments
 (0)