streamdown 0.35.2__tar.gz → 0.35.3__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 (91) hide show
  1. {streamdown-0.35.2 → streamdown-0.35.3}/PKG-INFO +1 -1
  2. {streamdown-0.35.2 → streamdown-0.35.3}/pyproject.toml +1 -1
  3. {streamdown-0.35.2 → streamdown-0.35.3}/streamdown/sd.py +1 -1
  4. {streamdown-0.35.2 → streamdown-0.35.3}/.aider.chat.history.md +0 -0
  5. {streamdown-0.35.2 → streamdown-0.35.3}/.aider.input.history +0 -0
  6. {streamdown-0.35.2 → streamdown-0.35.3}/.aider.tags.cache.v4/cache.db +0 -0
  7. {streamdown-0.35.2 → streamdown-0.35.3}/.envrc +0 -0
  8. {streamdown-0.35.2 → streamdown-0.35.3}/.gitignore +0 -0
  9. {streamdown-0.35.2 → streamdown-0.35.3}/.vimrc +0 -0
  10. {streamdown-0.35.2 → streamdown-0.35.3}/24-bit-color.sh +0 -0
  11. {streamdown-0.35.2 → streamdown-0.35.3}/LICENSE.MIT +0 -0
  12. {streamdown-0.35.2 → streamdown-0.35.3}/README.md +0 -0
  13. {streamdown-0.35.2 → streamdown-0.35.3}/assets/logo.png +0 -0
  14. {streamdown-0.35.2 → streamdown-0.35.3}/assets/logo.svg +0 -0
  15. {streamdown-0.35.2 → streamdown-0.35.3}/configurable.png +0 -0
  16. {streamdown-0.35.2 → streamdown-0.35.3}/copyable.png +0 -0
  17. {streamdown-0.35.2 → streamdown-0.35.3}/dunder.png +0 -0
  18. {streamdown-0.35.2 → streamdown-0.35.3}/error.txt +0 -0
  19. {streamdown-0.35.2 → streamdown-0.35.3}/math +0 -0
  20. {streamdown-0.35.2 → streamdown-0.35.3}/newdir/file_0.py +0 -0
  21. {streamdown-0.35.2 → streamdown-0.35.3}/newdir/file_1.rb +0 -0
  22. {streamdown-0.35.2 → streamdown-0.35.3}/newdir/file_2.jl +0 -0
  23. {streamdown-0.35.2 → streamdown-0.35.3}/passthrough.py +0 -0
  24. {streamdown-0.35.2 → streamdown-0.35.3}/pygments.util +0 -0
  25. {streamdown-0.35.2 → streamdown-0.35.3}/python-go.png +0 -0
  26. {streamdown-0.35.2 → streamdown-0.35.3}/re +0 -0
  27. {streamdown-0.35.2 → streamdown-0.35.3}/requirements.txt +0 -0
  28. {streamdown-0.35.2 → streamdown-0.35.3}/shutil +0 -0
  29. {streamdown-0.35.2 → streamdown-0.35.3}/somelog.txt +0 -0
  30. {streamdown-0.35.2 → streamdown-0.35.3}/ss-new.py +0 -0
  31. {streamdown-0.35.2 → streamdown-0.35.3}/ss.py +0 -0
  32. {streamdown-0.35.2 → streamdown-0.35.3}/streamdown/__init__.py +0 -0
  33. {streamdown-0.35.2 → streamdown-0.35.3}/streamdown/plugins/README.md +0 -0
  34. {streamdown-0.35.2 → streamdown-0.35.3}/streamdown/plugins/latex.py +0 -0
  35. {streamdown-0.35.2 → streamdown-0.35.3}/streamdown/qwen3.md +0 -0
  36. {streamdown-0.35.2 → streamdown-0.35.3}/streamdown/ss +0 -0
  37. {streamdown-0.35.2 → streamdown-0.35.3}/streamdown/ss1 +0 -0
  38. {streamdown-0.35.2 → streamdown-0.35.3}/streamdown/test.txt +0 -0
  39. {streamdown-0.35.2 → streamdown-0.35.3}/subprocess +0 -0
  40. {streamdown-0.35.2 → streamdown-0.35.3}/table.png +0 -0
  41. {streamdown-0.35.2 → streamdown-0.35.3}/temp.py +0 -0
  42. {streamdown-0.35.2 → streamdown-0.35.3}/test.py +0 -0
  43. {streamdown-0.35.2 → streamdown-0.35.3}/tester.py +0 -0
  44. {streamdown-0.35.2 → streamdown-0.35.3}/tests/README.md +0 -0
  45. {streamdown-0.35.2 → streamdown-0.35.3}/tests/backtick-with-post-spaces.md +0 -0
  46. {streamdown-0.35.2 → streamdown-0.35.3}/tests/bg-messed-up.md +0 -0
  47. {streamdown-0.35.2 → streamdown-0.35.3}/tests/blankie.md +0 -0
  48. {streamdown-0.35.2 → streamdown-0.35.3}/tests/block.md +0 -0
  49. {streamdown-0.35.2 → streamdown-0.35.3}/tests/bold_reset_with_link.md +0 -0
  50. {streamdown-0.35.2 → streamdown-0.35.3}/tests/broken-code.md +0 -0
  51. {streamdown-0.35.2 → streamdown-0.35.3}/tests/broken-example.md +0 -0
  52. {streamdown-0.35.2 → streamdown-0.35.3}/tests/chinese.md +0 -0
  53. {streamdown-0.35.2 → streamdown-0.35.3}/tests/chunk-buffer.sh +0 -0
  54. {streamdown-0.35.2 → streamdown-0.35.3}/tests/cjj.mv +0 -0
  55. {streamdown-0.35.2 → streamdown-0.35.3}/tests/cjk-comment.md +0 -0
  56. {streamdown-0.35.2 → streamdown-0.35.3}/tests/cjk-table.md +0 -0
  57. {streamdown-0.35.2 → streamdown-0.35.3}/tests/cjk-wrap.md +0 -0
  58. {streamdown-0.35.2 → streamdown-0.35.3}/tests/code.md +0 -0
  59. {streamdown-0.35.2 → streamdown-0.35.3}/tests/color-restore-after-link.md +0 -0
  60. {streamdown-0.35.2 → streamdown-0.35.3}/tests/dimcheck.md +0 -0
  61. {streamdown-0.35.2 → streamdown-0.35.3}/tests/example.md +0 -0
  62. {streamdown-0.35.2 → streamdown-0.35.3}/tests/fizzbuzz.md +0 -0
  63. {streamdown-0.35.2 → streamdown-0.35.3}/tests/fucking-garbage.md +0 -0
  64. {streamdown-0.35.2 → streamdown-0.35.3}/tests/inline.md +0 -0
  65. {streamdown-0.35.2 → streamdown-0.35.3}/tests/jimmy_webb.md +0 -0
  66. {streamdown-0.35.2 → streamdown-0.35.3}/tests/line-buffer.sh +0 -0
  67. {streamdown-0.35.2 → streamdown-0.35.3}/tests/line-wrap.md +0 -0
  68. {streamdown-0.35.2 → streamdown-0.35.3}/tests/links.md +0 -0
  69. {streamdown-0.35.2 → streamdown-0.35.3}/tests/managerie.md +0 -0
  70. {streamdown-0.35.2 → streamdown-0.35.3}/tests/mandlebrot.md +0 -0
  71. {streamdown-0.35.2 → streamdown-0.35.3}/tests/markdown.md +0 -0
  72. {streamdown-0.35.2 → streamdown-0.35.3}/tests/nested-example.md +0 -0
  73. {streamdown-0.35.2 → streamdown-0.35.3}/tests/no-newline.md +0 -0
  74. {streamdown-0.35.2 → streamdown-0.35.3}/tests/oneline-equal.md +0 -0
  75. {streamdown-0.35.2 → streamdown-0.35.3}/tests/outline.md +0 -0
  76. {streamdown-0.35.2 → streamdown-0.35.3}/tests/output.txt +0 -0
  77. {streamdown-0.35.2 → streamdown-0.35.3}/tests/pvgo_512.jpg +0 -0
  78. {streamdown-0.35.2 → streamdown-0.35.3}/tests/pythonvgo.md +0 -0
  79. {streamdown-0.35.2 → streamdown-0.35.3}/tests/qwen3.md +0 -0
  80. {streamdown-0.35.2 → streamdown-0.35.3}/tests/rerun.zsh +0 -0
  81. {streamdown-0.35.2 → streamdown-0.35.3}/tests/run-tests.sh +0 -0
  82. {streamdown-0.35.2 → streamdown-0.35.3}/tests/slash.md +0 -0
  83. {streamdown-0.35.2 → streamdown-0.35.3}/tests/strip-chunks.sh +0 -0
  84. {streamdown-0.35.2 → streamdown-0.35.3}/tests/table-break.md +0 -0
  85. {streamdown-0.35.2 → streamdown-0.35.3}/tests/table_test.md +0 -0
  86. {streamdown-0.35.2 → streamdown-0.35.3}/tests/test.md +0 -0
  87. {streamdown-0.35.2 → streamdown-0.35.3}/tests/test_input.md +0 -0
  88. {streamdown-0.35.2 → streamdown-0.35.3}/tests/uline.md +0 -0
  89. {streamdown-0.35.2 → streamdown-0.35.3}/tests/wm.md +0 -0
  90. {streamdown-0.35.2 → streamdown-0.35.3}/tools/deploy.sh +0 -0
  91. {streamdown-0.35.2 → streamdown-0.35.3}/tty +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamdown
3
- Version: 0.35.2
3
+ Version: 0.35.3
4
4
  Summary: A streaming markdown renderer for modern terminals with syntax highlighting
5
5
  Project-URL: Homepage, https://github.com/day50-dev/Streamdown
6
6
  Project-URL: Bug Tracker, https://github.com/day50-dev/Streamdown/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "streamdown"
7
- version = "0.35.2"
7
+ version = "0.35.3"
8
8
  description = "A streaming markdown renderer for modern terminals with syntax highlighting"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -1039,7 +1039,7 @@ def parse(stream):
1039
1039
 
1040
1040
  def terminal_prep(what):
1041
1041
  if Style.Plaintext:
1042
- return strip_ansi(what)
1042
+ return "\n".join([x.rstrip() for x in strip_ansi(what)])
1043
1043
  return what
1044
1044
 
1045
1045
  def emit(inp):
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