Commit Graph

148 Commits

Author SHA1 Message Date
streamdown-github-app[bot] f264e984e3 Version Packages (#93)
Co-authored-by: streamdown-bot[bot] <streamdown-bot[bot]@users.noreply.github.com>
streamdown@1.1.10
2025-09-03 15:46:21 -07:00
Hayden Bleasel 426c8970ee fix: parseincompletemarkdown emphasis character block issue (#94)
* Handle trailing markdown

* Fix nested italics

* Create old-facts-beg.md
2025-09-03 15:27:19 -07:00
Taesu 4459b14a5d feat: adjust table component (#92)
* feat: apply whitespace-nowrap to th and match table colors with CodeBlock

* test: update thead/tbody test codes

* chore: add changeset for table component update

* test: adjust th test code
2025-09-03 14:41:53 -07:00
streamdown-github-app[bot] 7a128a2701 Version Packages (#87)
Co-authored-by: streamdown-bot[bot] <streamdown-bot[bot]@users.noreply.github.com>
streamdown@1.1.9
2025-09-03 09:57:11 -07:00
Hayden Bleasel 5a50f22008 Bump deps (#89)
* Bump deps

* Transpile shiki

* Create afraid-kiwis-bathe.md

* Update biome.jsonc

* Ignore shadcn files

* Run Ultracite

* Run unsafe fixes
2025-09-03 09:56:07 -07:00
Hayden Bleasel 4737c9928d fix: streaming lists long items break to a new line once the next token / element arrives (#88)
* Update components.tsx

* Create rotten-ravens-start.md
2025-09-03 09:47:24 -07:00
野迂迂 23d8efe332 fix: resolve onCopy function called multiply times (#86)
* fix: resolve onCopy function called multiply times

* chore: add changeset

* fix: update copied condition
2025-09-03 09:37:08 -07:00
streamdown-github-app[bot] 066e213671 Version Packages (#81)
Co-authored-by: streamdown-bot[bot] <streamdown-bot[bot]@users.noreply.github.com>
streamdown@1.1.8
2025-09-02 19:43:43 -07:00
Hayden Bleasel f45ea6d7d2 fix: the unterminated long link text is not rendering anything until the full link has completed streaming (#85)
* Update terminator-parser.tsx

* Automatically close links with placeholder url

* Create yummy-lines-matter.md
2025-09-02 19:35:54 -07:00
Hayden Bleasel bda3134b52 add rtl unit tests (#84)
* Create rtl-support.test.tsx

* Create upset-eggs-own.md

* Update rtl-support.test.tsx
2025-09-02 18:26:25 -07:00
Hayden Bleasel 76b68bfa70 fix: more data attributes for code block elements (#82)
* add more code block data attributes

* Create brown-goats-serve.md
2025-09-02 17:46:48 -07:00
Hayden Bleasel faba69f08f fix: regression displaying multiple language code blocks (#80)
* Support multiple simultaneous code blocks with different languages

Refactored code block highlighter logic to allow rendering multiple code blocks with different languages at the same time. Added tests to verify correct rendering and language labeling for multiple and rapid sequential code blocks. Introduced HighlighterManager to manage highlighter instances and loaded languages efficiently.

* Create petite-steaks-sit.md
2025-09-02 17:24:28 -07:00
streamdown-github-app[bot] 520dd6d4a0 Version Packages (#66)
Co-authored-by: streamdown-bot[bot] <streamdown-bot[bot]@users.noreply.github.com>
streamdown@1.1.7
2025-09-02 09:44:30 -07:00
Hayden Bleasel 6e0f722d70 fix: rendering code blocks throws csp errors using vite build (#77)
* Update code-block.tsx

* Create eighty-regions-make.md
2025-09-02 09:14:10 -07:00
Taesu e7f040232e Redesign CodeBlock for improved UX (#69)
* feat: redesign CodeBlock component

* test: update CodeBlock tests for new structure

* chore: add changeset for CodeBlock redesign

* fix: move CodeBlock copy button to top-right

* fix: prevent state update on unmounted CodeBlock

* Update cold-mirrors-see.md

* Update code-block.tsx

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-09-02 08:29:09 -07:00
2hu 04b6e787d6 chore: sync README (#75)
* chore: sync README

* Update packages/streamdown/README.md

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
2025-09-02 08:23:16 -07:00
dependabot[bot] dfb85ce9f2 Bump the npm_and_yarn group across 2 directories with 1 update (#71)
Bumps the npm_and_yarn group with 1 update in the / directory: [next](https://github.com/vercel/next.js).
Bumps the npm_and_yarn group with 1 update in the /apps/website directory: [next](https://github.com/vercel/next.js).


Updates `next` from 15.4.6 to 15.4.7
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.4.6...v15.4.7)

Updates `next` from 15.4.6 to 15.4.7
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.4.6...v15.4.7)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 15.4.7
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: next
  dependency-version: 15.4.7
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 08:19:09 -07:00
Hayden Bleasel 6751cbba48 fix katex post-processing (#65) 2025-08-28 12:40:25 -07:00
Hayden Bleasel d77072b659 Update feature request template title 2025-08-28 12:05:50 -07:00
Hayden Bleasel 21701ff151 Update bug report template title 2025-08-28 12:05:38 -07:00
Hayden Bleasel e483a2e8b3 Resolves #17 2025-08-28 11:19:12 -07:00
streamdown-github-app[bot] 57ad869111 Version Packages (#63)
Co-authored-by: streamdown-bot[bot] <streamdown-bot[bot]@users.noreply.github.com>
streamdown@1.1.6
2025-08-28 11:05:50 -07:00
Hayden Bleasel 69fb1e0db4 fix single dollar sign text rendering as math (#64)
* Disable singleDollarTextMath

* Create wet-islands-slide.md

* Update tests

* Update mathematics.tsx

* Update wet-islands-slide.md

* Revert "Update wet-islands-slide.md"

This reverts commit 3e8f80aa63.
2025-08-28 11:04:34 -07:00
streamdown-github-app[bot] 593b021da0 Version Packages (#60)
Co-authored-by: streamdown-bot[bot] <streamdown-bot[bot]@users.noreply.github.com>
2025-08-28 10:16:45 -07:00
Hayden Bleasel e01669bd4e Add test app (#62)
* Scaffold test app

* Wire up AI SDK + Gateway

* Finish test app

* Resolves #53

* For #55

* Update config.json

* Create fuzzy-zoos-drive.md
2025-08-28 10:16:25 -07:00
2hu bf8c798501 docs: add defaultOrigin prop to README (#57)
* docs: add defaultOrigin prop to README

* Update README.md

* Create strong-apes-stop.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-08-28 09:15:07 -07:00
Hayden Bleasel 593e49eb92 fix multiple renders of the same mermaid diagram (#59)
* Improve stable ID

* Update mermaid.tsx

* Create social-bugs-doubt.md
2025-08-28 08:50:05 -07:00
Hayden Bleasel 0c9457b5ee Remove issue prefixes 2025-08-28 08:11:30 -07:00
Hayden Bleasel f106ec440d add faq to website (#56)
* Scaffold FAQ

* Resolves #4

* Update faq.tsx
2025-08-27 21:17:08 -07:00
streamdown-github-app[bot] 913351d200 Version Packages (#46)
Co-authored-by: streamdown-bot[bot] <streamdown-bot[bot]@users.noreply.github.com>
streamdown@1.1.4
2025-08-26 21:02:39 -07:00
Hayden Bleasel 5fbad80f2f fix bug with terminating lists on certain models (#49)
* fix asterisk list termination

* Create fancy-snails-march.md
2025-08-26 21:01:30 -07:00
Hayden Bleasel 13898aa987 feat: add data attributes to markdown components (#48)
* Add data-streamdown attributes to components

Added data-streamdown attributes to various rendered components for improved DOM identification and targeting. This enhances testability and integration with other tools that rely on custom data attributes.

* Create little-buses-lick.md

* Update verify-changesets.yml
2025-08-26 20:45:40 -07:00
Chenalejandro 390bbc73af temporary fix for error color in rehype katex (#44)
* fix

* Hardcode muted foreground color

* Update index.tsx

* Create metal-hotels-doubt.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-08-26 15:43:30 -07:00
Hayden Bleasel 9b5b56da5d Release based deploys (#47)
* Enable release-based deploys

* Create sour-grapes-admire.md
2025-08-26 15:30:22 -07:00
Hayden Bleasel f5f5e6f160 Update release.yml 2025-08-26 11:30:02 -07:00
17hz 5f4ed3d30c chore: remove package-lock.json (#42)
* chore: remove package-lock.json

* chore: ignore package-lock.json

* Create modern-groups-ring.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-08-26 10:20:04 -07:00
Hayden Bleasel 1a28ee8169 Update workflows (#39) 2025-08-26 10:18:27 -07:00
Hayden Bleasel 72b485dce6 Update package.json 2025-08-25 17:46:22 -07:00
Hayden Bleasel a03629c59a Manual version bump 2025-08-25 17:45:38 -07:00
Hayden Bleasel 71b96c27d5 Update release.yml 2025-08-25 17:43:55 -07:00
github-actions[bot] 929a8f3599 Version Packages (#36)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
streamdown@1.1.2
2025-08-25 17:41:09 -07:00
Hayden Bleasel 5ccfe24093 Resolves #5 2025-08-25 17:40:31 -07:00
Hayden Bleasel 7bd021f423 Update config.json 2025-08-25 17:34:35 -07:00
Hayden Bleasel f834892754 fix: codeblock dark mode and background (#40)
* Add theme provider

* Update footer.tsx

* Update code blocks

* Create yellow-webs-follow.md

* Accept two shiki themes

* Update index.tsx

* Misc fixes
2025-08-25 17:32:34 -07:00
Hayden Bleasel 045907f841 fix: handleincompletesingleunderscoreitalic is not accounting for the usage inside math equations (#38)
* Fix underscores in math equations

* Create cuddly-goats-warn.md
2025-08-25 16:30:23 -07:00
Hayden Bleasel dc9ab5fffb Fix unit tests (#37)
* Fix failing unit tests

* Add test suite to PR and Release workflows

* Create short-swans-rush.md
2025-08-25 16:29:57 -07:00
Hayden Bleasel 01e5eb091d Community + Publishing Workflow (#35)
* Scaffold changesets

* Copy AI SDK config

* Update config

* Create tender-toes-study.md

* Create CONTRIBUTING.md

* Create SECURITY.md

* Create CODE_OF_CONDUCT.md

* Create issue and PR templates
2025-08-25 14:59:18 -07:00
Hayden Bleasel 6093353163 Update package.json 2025-08-25 12:24:51 -07:00
Hayden Bleasel 5ce9e33e20 Suppress error rendering 2025-08-25 12:24:28 -07:00
Hayden Bleasel 80e5330176 Update README.md 2025-08-25 11:56:34 -07:00