streamdown 0.22.0__py3-none-any.whl → 0.23.0__py3-none-any.whl
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/sd.py +3 -1
- {streamdown-0.22.0.dist-info → streamdown-0.23.0.dist-info}/METADATA +1 -1
- streamdown-0.23.0.dist-info/RECORD +9 -0
- streamdown-0.22.0.dist-info/RECORD +0 -9
- {streamdown-0.22.0.dist-info → streamdown-0.23.0.dist-info}/WHEEL +0 -0
- {streamdown-0.22.0.dist-info → streamdown-0.23.0.dist-info}/entry_points.txt +0 -0
- {streamdown-0.22.0.dist-info → streamdown-0.23.0.dist-info}/licenses/LICENSE.MIT +0 -0
streamdown/sd.py
CHANGED
|
@@ -114,6 +114,8 @@ def debug_write(text):
|
|
|
114
114
|
|
|
115
115
|
def savebrace():
|
|
116
116
|
if state.Savebrace and state.code_buffer_raw:
|
|
117
|
+
tmp_dir = os.path.join(tempfile.gettempdir(), "sd")
|
|
118
|
+
os.makedirs(tmp_dir, exist_ok=True)
|
|
117
119
|
path = os.path.join(tempfile.gettempdir(), "sd", 'savebrace')
|
|
118
120
|
with open(path, "a") as f:
|
|
119
121
|
f.write(state.code_buffer_raw + "\x00")
|
|
@@ -1023,7 +1025,7 @@ def width_calc():
|
|
|
1023
1025
|
]
|
|
1024
1026
|
|
|
1025
1027
|
def main():
|
|
1026
|
-
parser = ArgumentParser(description="Streamdown - A Streaming markdown renderer for modern terminals")
|
|
1028
|
+
parser = ArgumentParser(description="Streamdown - A Streaming markdown renderer for modern terminals. Latest version: https://github.com/day50-dev/Streamdown")
|
|
1027
1029
|
parser.add_argument("filenameList", nargs="*", help="Input file to process (also takes stdin)")
|
|
1028
1030
|
parser.add_argument("-l", "--loglevel", default="INFO", help="Set the logging level")
|
|
1029
1031
|
parser.add_argument("-b", "--base", default=None, help="Set the hsv base: h,s,v")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: streamdown
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.23.0
|
|
4
4
|
Summary: A streaming markdown renderer for modern terminals with syntax highlighting
|
|
5
5
|
Project-URL: Homepage, https://github.com/kristopolous/Streamdown
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/kristopolous/Streamdown/issues
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
streamdown/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
streamdown/sd.py,sha256=RgluaZCIs4ehoS-gy7Enieeqa2ohNaIzUnKvXb9I8nk,42143
|
|
3
|
+
streamdown/plugins/README.md,sha256=KWqYELs9WkKJmuDzYv3cvPlZMkArsNCBUe4XDoTLjLA,1143
|
|
4
|
+
streamdown/plugins/latex.py,sha256=xZMGMdx_Sw4X1piZejXFHfEG9qazU4fGeceiMI0h13Y,648
|
|
5
|
+
streamdown-0.23.0.dist-info/METADATA,sha256=57r-IXGwIS2lkrcpXt58CvCl8Ry4tzeKSMmNGyMD62I,9658
|
|
6
|
+
streamdown-0.23.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
+
streamdown-0.23.0.dist-info/entry_points.txt,sha256=HroKFsFMGf_h9PRTE96NjvjJQWupMW5TGP5RGUr1O_Q,74
|
|
8
|
+
streamdown-0.23.0.dist-info/licenses/LICENSE.MIT,sha256=SnY46EPirUsF20dZDR8HpyVgS2_4Tjxuc6f-4OdqO7U,1070
|
|
9
|
+
streamdown-0.23.0.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
streamdown/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
streamdown/sd.py,sha256=unpjFxiUkjHw9XNZ8ziaOaka4s9qPpV5lwaeGz6pzlo,41981
|
|
3
|
-
streamdown/plugins/README.md,sha256=KWqYELs9WkKJmuDzYv3cvPlZMkArsNCBUe4XDoTLjLA,1143
|
|
4
|
-
streamdown/plugins/latex.py,sha256=xZMGMdx_Sw4X1piZejXFHfEG9qazU4fGeceiMI0h13Y,648
|
|
5
|
-
streamdown-0.22.0.dist-info/METADATA,sha256=jN3R2SE6M7UWfpb9a2IdNGDMfKNL5CBAEj0UaunowKg,9658
|
|
6
|
-
streamdown-0.22.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
-
streamdown-0.22.0.dist-info/entry_points.txt,sha256=HroKFsFMGf_h9PRTE96NjvjJQWupMW5TGP5RGUr1O_Q,74
|
|
8
|
-
streamdown-0.22.0.dist-info/licenses/LICENSE.MIT,sha256=SnY46EPirUsF20dZDR8HpyVgS2_4Tjxuc6f-4OdqO7U,1070
|
|
9
|
-
streamdown-0.22.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|