streamdown 0.29.0__tar.gz → 0.30.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {streamdown-0.29.0 → streamdown-0.30.0}/PKG-INFO +5 -4
- {streamdown-0.29.0 → streamdown-0.30.0}/README.md +2 -1
- {streamdown-0.29.0 → streamdown-0.30.0}/pyproject.toml +3 -3
- streamdown-0.30.0/streamdown/dd.mv +3 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/streamdown/sd.py +6 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/.gitignore +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/2q +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/LICENSE.MIT +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/requirements.txt +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/streamdown/__init__.py +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/streamdown/plugins/README.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/streamdown/plugins/latex.py +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/README.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/backtick-with-post-spaces.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/blankie.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/block.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/bold_reset_with_link.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/broken-code.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/broken-example.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/chunk-buffer.sh +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/cjk-table.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/cjk-wrap.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/code.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/dimcheck.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/example.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/fizzbuzz.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/inline.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/jimmy_webb.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/line-buffer.sh +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/line-wrap.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/links.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/list-test.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/managerie.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/mandlebrot.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/markdown.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/nested-example.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/outline.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/pvgo_512.jpg +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/pythonvgo.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/qwen3.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/rerun.zsh +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/slash.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/strip-chunks.sh +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/table-break.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/table_test.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/test.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/test_input.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/uline.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tests/wm.md +0 -0
- {streamdown-0.29.0 → streamdown-0.30.0}/tools/deploy.sh +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: streamdown
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.30.0
|
|
4
4
|
Summary: A streaming markdown renderer for modern terminals with syntax highlighting
|
|
5
|
-
Project-URL: Homepage, https://github.com/
|
|
6
|
-
Project-URL: Bug Tracker, https://github.com/
|
|
5
|
+
Project-URL: Homepage, https://github.com/day50-dev/Streamdown
|
|
6
|
+
Project-URL: Bug Tracker, https://github.com/day50-dev/Streamdown/issues
|
|
7
7
|
Author-email: Chris McKenzie <kristopolous@yahoo.com>
|
|
8
8
|
License: MIT
|
|
9
9
|
License-File: LICENSE.MIT
|
|
@@ -97,7 +97,7 @@ It is designed for AI and can be used to do parser based sophisticated pipelines
|
|
|
97
97
|
You can also just use it like a normal person.
|
|
98
98
|
## Configuration
|
|
99
99
|
|
|
100
|
-
It's located at `~/.config/streamdown/config.toml`
|
|
100
|
+
It's located at `~/.config/streamdown/config.toml` in Linux and `~/Library/Application Support/streamdown/config.toml` in macOS. If this file does not exist upon first run, it will be created with default values.
|
|
101
101
|
|
|
102
102
|
Here are the sections:
|
|
103
103
|
|
|
@@ -199,3 +199,4 @@ After the git clone least one of these should work, hopefully. it's using the mo
|
|
|
199
199
|
$ pip install -e .
|
|
200
200
|
$ uv pip install -e .
|
|
201
201
|
|
|
202
|
+
Explore the rest of [DAY50](https://github.com/day50-dev). Feel free to follow us, there's some exciting stuff coming.
|
|
@@ -67,7 +67,7 @@ It is designed for AI and can be used to do parser based sophisticated pipelines
|
|
|
67
67
|
You can also just use it like a normal person.
|
|
68
68
|
## Configuration
|
|
69
69
|
|
|
70
|
-
It's located at `~/.config/streamdown/config.toml`
|
|
70
|
+
It's located at `~/.config/streamdown/config.toml` in Linux and `~/Library/Application Support/streamdown/config.toml` in macOS. If this file does not exist upon first run, it will be created with default values.
|
|
71
71
|
|
|
72
72
|
Here are the sections:
|
|
73
73
|
|
|
@@ -169,3 +169,4 @@ After the git clone least one of these should work, hopefully. it's using the mo
|
|
|
169
169
|
$ pip install -e .
|
|
170
170
|
$ uv pip install -e .
|
|
171
171
|
|
|
172
|
+
Explore the rest of [DAY50](https://github.com/day50-dev). Feel free to follow us, there's some exciting stuff coming.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "streamdown"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.30.0"
|
|
8
8
|
description = "A streaming markdown renderer for modern terminals with syntax highlighting"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
@@ -36,8 +36,8 @@ dependencies = [
|
|
|
36
36
|
]
|
|
37
37
|
|
|
38
38
|
[project.urls]
|
|
39
|
-
"Homepage" = "https://github.com/
|
|
40
|
-
"Bug Tracker" = "https://github.com/
|
|
39
|
+
"Homepage" = "https://github.com/day50-dev/Streamdown"
|
|
40
|
+
"Bug Tracker" = "https://github.com/day50-dev/Streamdown/issues"
|
|
41
41
|
|
|
42
42
|
[project.scripts]
|
|
43
43
|
streamdown = "streamdown.sd:main"
|
|
@@ -836,9 +836,15 @@ def parse(stream):
|
|
|
836
836
|
if ttl > 1+tline_len:
|
|
837
837
|
break
|
|
838
838
|
|
|
839
|
+
|
|
839
840
|
newlen = visible_length("".join(parts[i:]))
|
|
840
841
|
|
|
841
842
|
snipfrom = newlen - len(tline) + 2
|
|
843
|
+
# this is all getting replaced with the new lexer so let's give a cheap
|
|
844
|
+
# fix for now:
|
|
845
|
+
if snipfrom == 1:
|
|
846
|
+
snipfrom = 0
|
|
847
|
+
|
|
842
848
|
if snipfrom > 0:
|
|
843
849
|
parts[i] = parts[i][snipfrom:]
|
|
844
850
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|