streamdown 0.20.0__tar.gz → 0.21.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.
Files changed (72) hide show
  1. {streamdown-0.20.0 → streamdown-0.21.0}/PKG-INFO +1 -1
  2. {streamdown-0.20.0 → streamdown-0.21.0}/pyproject.toml +1 -1
  3. {streamdown-0.20.0 → streamdown-0.21.0}/streamdown/sd.py +2 -0
  4. {streamdown-0.20.0 → streamdown-0.21.0}/.aider.chat.history.md +0 -0
  5. {streamdown-0.20.0 → streamdown-0.21.0}/.aider.input.history +0 -0
  6. {streamdown-0.20.0 → streamdown-0.21.0}/.aider.tags.cache.v4/cache.db +0 -0
  7. {streamdown-0.20.0 → streamdown-0.21.0}/.gitignore +0 -0
  8. {streamdown-0.20.0 → streamdown-0.21.0}/.vimrc +0 -0
  9. {streamdown-0.20.0 → streamdown-0.21.0}/24-bit-color.sh +0 -0
  10. {streamdown-0.20.0 → streamdown-0.21.0}/LICENSE.MIT +0 -0
  11. {streamdown-0.20.0 → streamdown-0.21.0}/README.md +0 -0
  12. {streamdown-0.20.0 → streamdown-0.21.0}/assets/logo.png +0 -0
  13. {streamdown-0.20.0 → streamdown-0.21.0}/assets/logo.svg +0 -0
  14. {streamdown-0.20.0 → streamdown-0.21.0}/configurable.png +0 -0
  15. {streamdown-0.20.0 → streamdown-0.21.0}/copyable.png +0 -0
  16. {streamdown-0.20.0 → streamdown-0.21.0}/dunder.png +0 -0
  17. {streamdown-0.20.0 → streamdown-0.21.0}/error.txt +0 -0
  18. {streamdown-0.20.0 → streamdown-0.21.0}/fucking-garbage.md +0 -0
  19. {streamdown-0.20.0 → streamdown-0.21.0}/newdir/file_0.py +0 -0
  20. {streamdown-0.20.0 → streamdown-0.21.0}/newdir/file_1.rb +0 -0
  21. {streamdown-0.20.0 → streamdown-0.21.0}/newdir/file_2.jl +0 -0
  22. {streamdown-0.20.0 → streamdown-0.21.0}/passthrough.py +0 -0
  23. {streamdown-0.20.0 → streamdown-0.21.0}/python-go.png +0 -0
  24. {streamdown-0.20.0 → streamdown-0.21.0}/requirements.txt +0 -0
  25. {streamdown-0.20.0 → streamdown-0.21.0}/somelog.txt +0 -0
  26. {streamdown-0.20.0 → streamdown-0.21.0}/ss-new.py +0 -0
  27. {streamdown-0.20.0 → streamdown-0.21.0}/ss.py +0 -0
  28. {streamdown-0.20.0 → streamdown-0.21.0}/streamdown/__init__.py +0 -0
  29. {streamdown-0.20.0 → streamdown-0.21.0}/streamdown/plugins/README.md +0 -0
  30. {streamdown-0.20.0 → streamdown-0.21.0}/streamdown/plugins/latex.py +0 -0
  31. {streamdown-0.20.0 → streamdown-0.21.0}/streamdown/ss +0 -0
  32. {streamdown-0.20.0 → streamdown-0.21.0}/streamdown/ss1 +0 -0
  33. {streamdown-0.20.0 → streamdown-0.21.0}/table.png +0 -0
  34. {streamdown-0.20.0 → streamdown-0.21.0}/temp.py +0 -0
  35. {streamdown-0.20.0 → streamdown-0.21.0}/test.py +0 -0
  36. {streamdown-0.20.0 → streamdown-0.21.0}/test_input.md +0 -0
  37. {streamdown-0.20.0 → streamdown-0.21.0}/tester.py +0 -0
  38. {streamdown-0.20.0 → streamdown-0.21.0}/tests/README.md +0 -0
  39. {streamdown-0.20.0 → streamdown-0.21.0}/tests/backtick-with-post-spaces.md +0 -0
  40. {streamdown-0.20.0 → streamdown-0.21.0}/tests/bg-messed-up.md +0 -0
  41. {streamdown-0.20.0 → streamdown-0.21.0}/tests/block.md +0 -0
  42. {streamdown-0.20.0 → streamdown-0.21.0}/tests/bold_reset_with_link.md +0 -0
  43. {streamdown-0.20.0 → streamdown-0.21.0}/tests/broken-code.md +0 -0
  44. {streamdown-0.20.0 → streamdown-0.21.0}/tests/broken-example.md +0 -0
  45. {streamdown-0.20.0 → streamdown-0.21.0}/tests/chinese.md +0 -0
  46. {streamdown-0.20.0 → streamdown-0.21.0}/tests/chunk-buffer.sh +0 -0
  47. {streamdown-0.20.0 → streamdown-0.21.0}/tests/cjj.mv +0 -0
  48. {streamdown-0.20.0 → streamdown-0.21.0}/tests/cjk-table.md +0 -0
  49. {streamdown-0.20.0 → streamdown-0.21.0}/tests/cjk-wrap.md +0 -0
  50. {streamdown-0.20.0 → streamdown-0.21.0}/tests/code.md +0 -0
  51. {streamdown-0.20.0 → streamdown-0.21.0}/tests/example.md +0 -0
  52. {streamdown-0.20.0 → streamdown-0.21.0}/tests/fizzbuzz.md +0 -0
  53. {streamdown-0.20.0 → streamdown-0.21.0}/tests/inline.md +0 -0
  54. {streamdown-0.20.0 → streamdown-0.21.0}/tests/jimmy_webb.md +0 -0
  55. {streamdown-0.20.0 → streamdown-0.21.0}/tests/line-buffer.sh +0 -0
  56. {streamdown-0.20.0 → streamdown-0.21.0}/tests/line-wrap.md +0 -0
  57. {streamdown-0.20.0 → streamdown-0.21.0}/tests/links.md +0 -0
  58. {streamdown-0.20.0 → streamdown-0.21.0}/tests/managerie.md +0 -0
  59. {streamdown-0.20.0 → streamdown-0.21.0}/tests/mandlebrot.md +0 -0
  60. {streamdown-0.20.0 → streamdown-0.21.0}/tests/markdown.md +0 -0
  61. {streamdown-0.20.0 → streamdown-0.21.0}/tests/nested-example.md +0 -0
  62. {streamdown-0.20.0 → streamdown-0.21.0}/tests/outline.md +0 -0
  63. {streamdown-0.20.0 → streamdown-0.21.0}/tests/pvgo_512.jpg +0 -0
  64. {streamdown-0.20.0 → streamdown-0.21.0}/tests/pythonvgo.md +0 -0
  65. {streamdown-0.20.0 → streamdown-0.21.0}/tests/qwen3.md +0 -0
  66. {streamdown-0.20.0 → streamdown-0.21.0}/tests/rerun.zsh +0 -0
  67. {streamdown-0.20.0 → streamdown-0.21.0}/tests/strip-chunks.sh +0 -0
  68. {streamdown-0.20.0 → streamdown-0.21.0}/tests/table-break.md +0 -0
  69. {streamdown-0.20.0 → streamdown-0.21.0}/tests/table_test.md +0 -0
  70. {streamdown-0.20.0 → streamdown-0.21.0}/tests/test.md +0 -0
  71. {streamdown-0.20.0 → streamdown-0.21.0}/tests/test_input.md +0 -0
  72. {streamdown-0.20.0 → streamdown-0.21.0}/tests/wm.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamdown
3
- Version: 0.20.0
3
+ Version: 0.21.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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "streamdown"
7
- version = "0.20.0"
7
+ version = "0.21.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"
@@ -115,6 +115,8 @@ def debug_write(text):
115
115
 
116
116
  def savebrace():
117
117
  if state.Savebrace and state.code_buffer_raw:
118
+ tmp_dir = os.path.join(tempfile.gettempdir(), "sd")
119
+ os.makedirs(tmp_dir, exist_ok=True)
118
120
  path = os.path.join(tempfile.gettempdir(), "sd", 'savebrace')
119
121
  with open(path, "a") as f:
120
122
  f.write(state.code_buffer_raw + "\x00")
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