Commit Graph

440 Commits

Author SHA1 Message Date
Hayden Bleasel 75faa2ed26 Reduce bundle size by 98%, create Streamdown CDN (#295)
* Bundle minimal languages, load excess from CDN

* Update cdn-loader.ts

* Proxy rewrite CDN urls

* Create bold-worms-enjoy.md

* Update code-blocks.mdx

* Delete unused pages

* Add new CDN unit tests

* Run Ultracite

* Manual fixes

* Update sidebar.tsx
2025-12-07 22:16:45 -08:00
Hayden Bleasel e0ee74e4b6 Create floppy-days-start.md 2025-12-07 22:11:27 -08:00
Hayden Bleasel 9dd9fa67e0 Resolves #296 2025-12-07 22:11:06 -08:00
Hayden Bleasel 078c1b238f Delete toc.tsx 2025-12-07 20:51:31 -08:00
Hayden Bleasel d1635f016f Resolves #294 2025-12-07 20:49:58 -08:00
Hayden Bleasel c3a335d829 Update utils.ts 2025-12-07 10:48:26 -08:00
Hayden Bleasel 46df65263f Update utils.ts 2025-12-07 10:43:05 -08:00
Hayden Bleasel 0a732fec47 Update Ultracite 2025-12-07 10:41:01 -08:00
Hayden Bleasel e0fa5756eb Ultracite fixes 2025-12-07 10:08:35 -08:00
Hayden Bleasel aaf459b227 Add lint/format check to release and test flow 2025-12-07 10:07:45 -08:00
Hayden Bleasel 8157e8037f Fix fullscreen mermaid 2025-12-07 09:58:29 -08:00
Hayden Bleasel 6769e7a629 Fix trailing space issues 2025-12-07 09:55:21 -08:00
Hayden Bleasel 8f3e0ede4b Run fix 2025-12-06 23:35:51 -08:00
Hayden Bleasel 73c3b61bdd Bump deps 2025-12-06 23:34:57 -08:00
Hayden Bleasel 1c752e3873 Update docs 2025-12-06 23:33:36 -08:00
Hayden Bleasel 16df4a4b78 Fix KaTeX parsing 2025-12-06 23:07:35 -08:00
Hayden Bleasel 133c6c8281 Load KaTeX CSS from CDN, for #74 2025-12-06 23:00:10 -08:00
Hayden Bleasel e2601784b7 Update caret.test.tsx 2025-12-06 22:37:20 -08:00
Hayden Bleasel 68109f2ab7 Fix setext heading issues 2025-12-06 22:34:40 -08:00
Hayden Bleasel 45f0f4dbcb Improve support for horizontal rules 2025-12-06 22:04:29 -08:00
Hayden Bleasel 219e9070da Update chat.tsx 2025-12-06 20:53:10 -08:00
Hayden Bleasel 1fa232ef62 Test app fixes 2025-12-06 20:42:31 -08:00
Hayden Bleasel 40b969d8a1 Remove excess margins stemming from prose 2025-12-06 20:16:07 -08:00
Hayden Bleasel 13b91d8032 Add support for carets (#291)
* Add support for carets

* Create caret.test.tsx

* Update sixty-owls-film.md
2025-12-06 20:12:35 -08:00
Hayden Bleasel 271265c523 Resolves #288 2025-12-06 19:13:44 -08:00
Hayden Bleasel 6b5de3c4ca Update column.tsx 2025-12-04 21:47:00 -08:00
Hayden Bleasel 5dbb7c765a Upgrade React and Next.js 2025-12-04 21:08:39 -08:00
Hayden Bleasel e7eca5118f Resolves #265 2025-12-04 18:05:24 -08:00
dependabot[bot] 25feda0397 Bump the npm_and_yarn group across 3 directories with 1 update (#286)
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/test 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 16.0.1 to 16.0.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/v16.0.1...v16.0.7)

Updates `next` from 16.0.1 to 16.0.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/v16.0.1...v16.0.7)

Updates `next` from 16.0.1 to 16.0.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/v16.0.1...v16.0.7)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 16.0.7
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: next
  dependency-version: 16.0.7
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: next
  dependency-version: 16.0.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-12-04 17:27:06 -08:00
Hayden Bleasel 56985d08b4 Fix tests 2025-12-04 17:15:45 -08:00
Hayden Bleasel 68f29c0eff Create ripe-gifts-build.md 2025-12-04 16:53:33 -08:00
Hayden Bleasel bd1ded46bf Resolves #284 2025-12-04 16:52:46 -08:00
Hayden Bleasel 36956165f4 Merge branch 'main' of https://github.com/vercel/streamdown 2025-12-04 09:48:31 -08:00
Hayden Bleasel a07aeedfdf Update package.json 2025-12-04 09:48:03 -08:00
Hayden Bleasel fbb98f8791 Document plugins 2025-12-04 09:47:24 -08:00
Hayden Bleasel 8d8d67f50d Add rehype-sanitize 2025-12-04 09:47:16 -08:00
chaxus 6a7dc7cb93 perf: optimize Mermaid rendering with viewport-based lazy loading (#281) 2025-12-04 09:41:41 -08:00
chaxus 0c830f5ec5 fix: improve mermaid controls layout and remove redundant styles (#278) 2025-12-04 09:40:47 -08:00
dependabot[bot] a3e1fa1d25 Bump the npm_and_yarn group across 1 directory with 3 updates (#277)
Bumps the npm_and_yarn group with 1 update in the / directory: [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk).


Updates `@modelcontextprotocol/sdk` from 1.22.0 to 1.24.0
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/1.22.0...1.24.0)

Updates `body-parser` from 2.2.0 to 2.2.1
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/v2.2.0...v2.2.1)

Updates `express` from 5.1.0 to 5.2.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/v5.1.0...v5.2.1)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.24.0
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: body-parser
  dependency-version: 2.2.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-version: 5.2.1
  dependency-type: indirect
  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-12-04 09:40:07 -08:00
Hayden Bleasel e78b0da220 Update README.md 2025-12-03 11:38:52 -08:00
streamdown-github-app[bot] 1e8a01d0b2 Version Packages (#280)
Co-authored-by: streamdown-bot[bot] <streamdown-bot[bot]@users.noreply.github.com>
remend@1.0.1 streamdown@1.6.10
2025-12-03 11:20:09 -08:00
Hayden Bleasel 3038eefdca Update release.yml 2025-12-03 11:18:41 -08:00
Hayden Bleasel d3ed120364 Remend (#279)
* Initial extraction

* Split up files

* Misc cleanup

* Break apart test file

* Add vitest/coverage-v8

* Increase coverage to 99.63%

* Fix cognitive complexity issues

* Run Ultracite

* Delete parse-incomplete-markdown.ts

* Add postbuild script for use client directive

* Update README.md

* Add default export

* Update docs

* Rename package

* Create wicked-badgers-decide.md

* Fix remend tests

* Fix remend benchmarks

* Fix remaining Streamdown tests

* Update underscore-bug.test.tsx

* Update test.yml

* Update test.yml
2025-12-03 11:17:18 -08:00
streamdown-github-app[bot] 38c773e2d6 Version Packages (#261)
Co-authored-by: streamdown-bot[bot] <streamdown-bot[bot]@users.noreply.github.com>
streamdown@1.6.9
2025-11-28 15:34:54 -08:00
Hayden Bleasel a954419dd5 Bump rehype harden (#269)
* Update rehype-harden

* Update props

* Update security.mdx

* Changeset, install deps
2025-11-28 15:31:44 -08:00
Ayhan Sipahi 3e219ba890 feat: enhance MermaidDemo with theme support for light/dark mode (#267)
* feat: enhance MermaidDemo with theme support for light/dark mode

* feat: add theme support and mount check to MermaidDemo component
2025-11-28 12:42:34 -08:00
yeliex 99797c2905 chore: move unified from devDependencies to dependencies (#266) 2025-11-28 12:41:54 -08:00
swiftugandan 57dec2abe0 fix: remove unnecessary height class from fullscreen pan-zoom container (#259)
* fix: remove unnecessary height class from fullscreen pan-zoom container

* Adding changeset
2025-11-25 16:37:46 -08:00
streamdown-github-app[bot] 3fc772f3b1 Version Packages (#258)
Co-authored-by: streamdown-bot[bot] <streamdown-bot[bot]@users.noreply.github.com>
streamdown@1.6.8
2025-11-24 23:27:38 -08:00
Hayden Bleasel 22dad76feb Implementation of https://github.com/vercel-labs/markdown-sanitizers/issues/29 2025-11-24 23:11:49 -08:00