Hayden Bleasel
62888665f8
Performance improvements, part 2 ( #241 )
...
* Add functional benchmarking suite
* Optimize regex performance
* Fix rendering issue with code blocks
* Fix bench commands
* Table optimizations
* Math Block Detection Caching
* Parse blocks optimizations
* More regex-to-loop optimizations
* Update layout.tsx
* Remove dependency on vfile
* Optimize string operations
* Create markdown.test.tsx
* Optimized cache key generation
* Fix display issue
* Add core Markdown parsing benchmarks
* Update section.tsx
* CSV / TSV escaping optimization
* More optimizations
* Run Ultracite
* Fix remaining lint issues
2025-11-21 17:45:53 -08:00
Hayden Bleasel
6e94a180ed
Remove benchmarks
2025-11-21 15:13:09 -08:00
Hayden Bleasel
6f19ee03e7
Remove dependency on react-markdown
2025-11-19 18:31:53 -08:00
Hayden Bleasel
819ce60e37
Create performance benchmarks
2025-11-19 17:29:45 -08:00
Hayden Bleasel
b55cbdc954
Fix security issues, improve performance ( #233 )
...
* Resolves https://github.com/vercel/streamdown/security/code-scanning/9
* Resolves https://github.com/vercel/streamdown/security/code-scanning/7
* Resolves https://github.com/vercel/streamdown/security/code-scanning/6
* Resolves https://github.com/vercel/streamdown/security/code-scanning/3
* Resolves https://github.com/vercel/streamdown/security/code-scanning/1
* Bump deps, resolves https://github.com/vercel/streamdown/security/dependabot/10
* Run Ultracite
* Create major-spoons-do.md
* Update parse-incomplete-markdown.ts
* Update packages/streamdown/lib/parse-incomplete-markdown.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* Update parse-incomplete-markdown.test.ts
---------
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
2025-11-19 13:57:04 -08:00
Hayden Bleasel
f941fd6f53
Resolves #185
2025-11-15 21:20:02 -08:00
Hayden Bleasel
75e9d401b9
Linting / Formatting / Documentation fixes ( #220 )
...
* Bump deps
* Update biome.jsonc
* Remove duplicate Biome config
* Run Ultracite
* Resolves #217
* For #198
* Update biome.jsonc
* For #198
* For #198
* For #198
* For #198
* Update node-attribute-removed.test.tsx
* Resolves #198
* Update README.md
* Add changeset files
* Create tidy-lemons-win.md
2025-11-15 20:23:36 -08:00
Hayden Bleasel
44ae73eaaf
Documentation ( #219 )
...
* Initial migration
* Update homepage
* Delete .source
* Fix gitignores
* Draft content
* Finish drafting content, migrate FAQ
* Update code-blocks.tsx
* Update route.ts
* Update next config
* Upgrade to Next.js 16, fix commands
* Update layout.tsx
2025-11-15 19:41:00 -08:00
dependabot[bot]
9633eda7c6
chore(deps): bump ai in the npm_and_yarn group across 1 directory ( #210 )
...
Bumps the npm_and_yarn group with 1 update in the / directory: [ai](https://github.com/vercel/ai ).
Updates `ai` from 5.0.32 to 5.0.52
- [Release notes](https://github.com/vercel/ai/releases )
- [Changelog](https://github.com/vercel/ai/blob/main/CHANGELOG.md )
- [Commits](https://github.com/vercel/ai/compare/ai@5.0.32...ai@5.0.52 )
---
updated-dependencies:
- dependency-name: ai
dependency-version: 5.0.52
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-11-12 22:40:54 -08:00
Hayden Bleasel
3c780b4827
fix: footnotes are blocked by default ( #179 )
...
* Update rehype-harden
* Fix footnotes rendering
* Update footnotes.test.tsx
* Create tender-readers-shave.md
2025-10-10 11:04:50 -07:00
Hayden Bleasel
6c0672b1e9
Fix footnotes ( #174 )
...
* Fix footnotes in markdown parsing
* Create footnotes.test.tsx
* Create light-beers-peel.md
* Bump rehype-harden
* Update gfm.tsx
* Update parse-blocks.tsx
* Update pnpm-lock.yaml
2025-10-10 10:08:51 -07:00
Hayden Bleasel
f5d6cd6668
Remove options props, make plugins fully customizable ( #177 )
...
* Remove options props, make plugins fully customizable
* Update docs
* Create puny-turkeys-press.md
* Remove harden options
* Make defaults easily overridable
* Simplify keys
* Update hardened.tsx
* Remove unused unit tests
* Add missing props
2025-10-10 09:39:40 -07:00
Hayden Bleasel
6c6f507e21
Replace harden-react-markdown with rehype-harden ( #170 )
...
* replace harden-react-markdown with rehype-harden
* Improve docs
* Add hardenOptions prop to allow for full props
* Improve unit tests for hardenOptions
* Create cute-deer-cut.md
* Update hardened.tsx
2025-10-09 17:02:04 -07:00
Hayden Bleasel
20ca02db5c
160 email addresses rendered as blocked link ( #169 )
...
* Update harden-react-markdown and add unit tests
* Create three-candles-create.md
2025-10-09 16:05:53 -07:00
Hayden Bleasel
f34c039d40
fix: 121 br in markdown tables from gpt oss seem encoded or printed to output ( #146 )
...
* Add rehype-raw to allow HTML elements in markdown
* Create angry-crews-beg.md
2025-09-15 20:47:51 -07:00
Hayden Bleasel
0ebf67db1d
1.3 changes ( #145 )
...
* Bump deps
* Run Ultracite
* Update code-block.tsx
* Update parse-blocks.tsx
* Create great-pants-trade.md
2025-09-15 20:35:31 -07:00
Hayden Bleasel
c3a2eaaca7
V1.2 misc fixes ( #105 )
...
* Add type safety to remark plugins
* Move harden-react-markdown defaults to props
* Change switch to if to avoid default clause
* Use save-file for table
* Use for-of
* Write custom save function
* Remove use of state in image
* Update image.tsx
* Use existing save function
* Create khaki-facts-fly.md
2025-09-04 21:25:45 -07:00
Hayden Bleasel
fa7733c918
1.2 cleanup ( #104 )
...
* Bump deps
* Run Ultracite
* Replace custom download code with file-saver
* Export with correct file extension
* Update code-block.tsx
* Replace file-saver with save-file
* Add button animations
* Add file support to test app
* Add ability to select model in test app
* Filter out embedding models
* Update chat.tsx
* Create olive-lamps-glow.md
2025-09-04 19:00:25 -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
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
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
Hayden Bleasel
f106ec440d
add faq to website ( #56 )
...
* Scaffold FAQ
* Resolves #4
* Update faq.tsx
2025-08-27 21:17:08 -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
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
Ayhan Sipahi
d528e25ac1
feat: Add Interactive Mermaid Diagram Support with Manual Rendering ( #18 )
...
* feat: add Mermaid diagram support to Streamdown
- Add Mermaid package dependency
- Create Mermaid component with error handling
- Integrate Mermaid support in markdown components
- Add Mermaid demo to website
- Update README with Mermaid examples
- Add comprehensive tests for Mermaid component
* feat(mermaıd): lazy load mermaid
* feat: add interactive Mermaid diagram support with manual render buttons
* perf: optimize Mermaid initialization to prevent config conflicts
* fix: extract pre component to resolve React Hooks Rules violation
* fix: add error handling and unique ID generation
* fix: conditionally render Mermaid button only for Mermaid code blocks
2025-08-25 10:58:33 -07:00
Arnav K
be33778983
chore: update lucide-react dependency to fix virus error w/ vite ( #27 )
2025-08-25 10:55:13 -07:00
Hayden Bleasel
9416d7d649
Detach code block from website
2025-08-18 19:12:10 -07:00
Hayden Bleasel
b33cd3f855
Add AI Elements demo
2025-08-18 17:33:56 -07:00
Hayden Bleasel
b3b55ab5ee
Add Vercel analytics
2025-08-18 11:34:31 -07:00
Hayden Bleasel
5dae6c8efe
Fix vitest setup
2025-08-18 10:47:36 -07:00
Hayden Bleasel
34f9fba905
Add coverage-v8
2025-08-18 10:44:46 -07:00
Hayden Bleasel
0a86cd23fa
Run renderer on view
2025-08-18 09:05:49 -07:00
Hayden Bleasel
6a97e6ea2f
Misc cleanup
2025-08-18 09:02:05 -07:00
Hayden Bleasel
e690cf82f4
Add react-scan, disable optimization docs for now
2025-08-18 08:32:56 -07:00
Hayden Bleasel
be9475b170
Add parse-blocks
2025-08-15 11:44:57 -07:00
Hayden Bleasel
af90e02a2c
Re-add copy button
2025-08-15 10:35:16 -07:00
Hayden Bleasel
a7396ee9e7
Update examples
2025-08-14 18:51:54 -07:00
Hayden Bleasel
9a745256b7
Replace code block with shiki
2025-08-14 18:16:57 -07:00
Hayden Bleasel
7782feefd4
Run Ultracite
2025-08-14 17:50:53 -07:00
Hayden Bleasel
8d893b3527
Add Ultracite
2025-08-14 17:49:48 -07:00
Hayden Bleasel
8f43d9eed0
Scaffold tests
2025-08-14 17:47:17 -07:00
Hayden Bleasel
547ce47f77
Create basic landing page
2025-08-14 17:33:09 -07:00
Hayden Bleasel
4f2e1fffc3
Add shadcn/ui
2025-08-14 17:23:20 -07:00
Turbobot
03adb07126
feat(create-turbo): install dependencies
2025-08-14 17:16:52 -07:00
Turbobot
317f07bc3e
feat(create-turbo): apply official-starter transform
2025-08-14 17:16:47 -07:00