Commit Graph

219 Commits

Author SHA1 Message Date
Hayden Bleasel 1102f1855e Fix all Biome lint and formatting errors
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 20:57:01 -08:00
Hayden Bleasel 847132d73c Remove ts-router-chat-test 2026-02-18 20:47:58 -08:00
Hayden Bleasel 93a79cc06b Resolves #270 2026-02-18 19:08:39 -08:00
Hayden Bleasel eb4099d1b1 Update templates.tsx 2026-02-18 19:04:29 -08:00
Hayden Bleasel e336d9848e Link out to templates 2026-02-18 16:14:00 -08:00
dependabot[bot] 40ff972f40 Bump the npm_and_yarn group across 1 directory with 4 updates (#405)
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.25.2 to 1.26.0
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.25.2...v1.26.0)

Updates `ajv` from 8.17.1 to 8.18.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v8.17.1...v8.18.0)

Updates `hono` from 4.11.4 to 4.11.10
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.11.4...v4.11.10)

Updates `qs` from 6.14.1 to 6.15.0
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.1...v6.15.0)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.26.0
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: ajv
  dependency-version: 8.18.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: hono
  dependency-version: 4.11.10
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: qs
  dependency-version: 6.15.0
  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>
2026-02-18 14:26:37 -08:00
Hayden Bleasel 55da9dacfc Draft new Geistdocs homepage 2026-02-18 13:15:46 -08:00
Hayden Bleasel 6363be1efe Implement Conversation component 2026-02-18 10:39:49 -08:00
Hayden Bleasel ecaad72cd3 Make playground Streamdown customizable 2026-02-18 10:32:26 -08:00
Hayden Bleasel 69761f2ab7 Update meta.json 2026-02-18 10:20:48 -08:00
Hayden Bleasel 1cf1dd842f Add redirects 2026-02-18 10:20:45 -08:00
Hayden Bleasel d79ebb7227 Merge Mermaid pages 2026-02-18 10:20:38 -08:00
Hayden Bleasel 7bfc313c43 Merge Math pages 2026-02-18 10:18:55 -08:00
Hayden Bleasel 5eba3f120a Merge CJK pages 2026-02-18 10:17:51 -08:00
Hayden Bleasel 883d6c0183 Destructure plugin pages 2026-02-18 10:12:18 -08:00
Hayden Bleasel dc1f61552c Update playground-editor.tsx 2026-02-18 10:10:03 -08:00
Hayden Bleasel bc29c15443 Update Geistdocs 2026-02-18 10:08:44 -08:00
Hayden Bleasel 55260d255d Fix homepage usage code block 2026-02-18 09:50:33 -08:00
Hayden Bleasel deae6aa4cf Cleanup Playground 2026-02-18 09:47:36 -08:00
Hayden Bleasel 604953075e Update docs 2026-02-18 09:41:14 -08:00
Hayden Bleasel 4d0901109d Update code-block.tsx 2026-02-18 09:40:57 -08:00
Hayden Bleasel cfd16ea2f7 Update docs 2026-02-18 09:13:57 -08:00
Tim Neutkens bacd11bee8 Add /playground to website (#404) 2026-02-18 08:57:19 -08:00
PaulSenon 15645da72e Feat/code block cls lower lazy boundary (#392)
* feat: Improve code block visual stability by moving lazy highlight boundary

* style: update contributing linter rules and fixed missed linter issues

* revert superfluous changes to CONTRIBUTING.md and geistdocs.tsx

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 16:36:48 -08:00
Waseem 3657e42bcc feat: add useIsBlockIncomplete hook for detecting incomplete streaming blocks (#381)
* feat: add useIsBlockIncomplete hook for detecting incomplete streaming blocks

Custom components can now detect when the block they're rendering is still
being streamed (incomplete). This is useful for showing loading states in
code blocks during streaming.

- Add BlockIncompleteContext and useIsBlockIncomplete hook
- Add hasIncompleteCodeFence utility to detect unclosed code fences
- Calculate isIncomplete state per block during render
- Default CodeComponent uses the hook to set data-incomplete attribute
- Add comprehensive tests for the new functionality

* docs: add useIsBlockIncomplete documentation

- Add "Streaming State" section to components.mdx explaining the hook
- Add "Avoid Continuous Re-rendering" section to mermaid.mdx with example

* fix: support tilde code fences in hasIncompleteCodeFence

Adds support for detecting incomplete ~~~ code fences in addition to
backtick fences, per CommonMark/GFM spec.

* fix: address PR review — line-based fence detection, rename hook/context

- rewrite hasIncompleteCodeFence to walk line-by-line per CommonMark spec
  - fixes 6+ backtick fences being miscounted
  - fixes false positives from inline backticks in prose
  - respects fence character matching and length requirements
- rename block-position-context.ts → block-incomplete-context.ts
- rename useIsBlockIncomplete → useIsCodeFenceIncomplete
- add tests for edge cases (long fences, inline backticks, indentation)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 16:14:57 -08:00
dependabot[bot] eb4e2a6564 Bump next in the npm_and_yarn group across 1 directory (#372)
Bumps the npm_and_yarn group with 1 update in the / directory: [next](https://github.com/vercel/next.js).


Updates `next` from 16.1.3 to 16.1.5
- [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.1.3...v16.1.5)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 16.1.5
  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>
2026-02-17 16:06:36 -08:00
zhdzb 7f9127b843 Add normalizeHtmlIndentation prop to prevent indented HTML tags from being treated as code blocks (#264) 2026-02-17 16:04:51 -08:00
Dmitrii 5c99dfe48b docs: fix incorrect line-break behavior description in GFM docs (#399)
* docs: fix incorrect line-break behavior description in GFM docs

The GFM documentation incorrectly stated that single newlines are
preserved as visible line breaks. In reality, remark-gfm (like
standard Markdown) treats single newlines as soft breaks, rendering
them as spaces.

Updated the Line Breaks section to:
- Correctly explain soft break behavior
- Document hard break syntax (trailing spaces and backslash)
- Show how to add remark-breaks plugin for automatic line breaks

Fixes #388

* fix: use PluggableList array for remarkPlugins example

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

---------

Co-authored-by: Shurik <shurik@openclaw.ai>
Co-authored-by: vercel[bot] <vercel[bot]@users.noreply.github.com>
2026-02-17 15:49:23 -08:00
Dmitrii 9118cc001b docs: clarify that custom components replace default styles (#398)
Document that custom components fully replace default implementations
including their built-in Tailwind classes. The className prop only
contains classes from the Markdown AST, not Streamdown's default styles.

Add a warning callout and a before/after example showing how to
preserve default h2 styles when overriding.

Fixes #394

Co-authored-by: Shurik <shurik@openclaw.ai>
2026-02-17 15:47:07 -08:00
Hayden Bleasel 13fc8248a4 Pull upstream changes 2026-02-17 09:07:33 -08:00
Hayden Bleasel eeb824f9c8 Update page.tsx 2026-02-12 11:51:35 -08:00
Hayden Bleasel 5feae8ce49 Update page.tsx 2026-02-12 11:38:01 -08:00
Hayden Bleasel a70572acb8 Update Geistdocs 2026-02-12 11:34:37 -08:00
Hayden Bleasel 56fff9c746 Update source.ts 2026-02-11 18:19:58 -08:00
Hayden Bleasel e6ab579a89 Add md-metadata 2026-02-11 17:06:45 -08:00
Hayden Bleasel 90522e307a Create sitemap.ts 2026-02-11 10:04:41 -08:00
Hayden Bleasel 276aa4678f Update proxy.ts 2026-02-11 09:33:32 -08:00
Hayden Bleasel 4de9aeb7fb Update Geistdocs 2026-02-11 09:27:53 -08:00
Hayden Bleasel 969ccd44ae Fix Fumadocs build on Vercel 2026-02-09 11:16:32 -08:00
Hayden Bleasel 6ba3a207bf Update section.tsx 2026-02-08 15:30:58 -08:00
Hayden Bleasel a1e21587b8 Enable animation on website 2026-02-08 15:30:41 -08:00
Hayden Bleasel 2035c2ce6a Ultracite fixes 2026-02-08 15:25:49 -08:00
Hayden Bleasel 4be8f6c258 Merge animate into main library 2026-02-08 15:25:00 -08:00
Hayden Bleasel 48756b5c88 Resolves #298 2026-02-08 13:12:11 -08:00
Hayden Bleasel 573ece690d Resolves #350 2026-02-08 12:48:50 -08:00
Hayden Bleasel c1e1e66a0f Resolves #290, resolves #371, resolves #153 2026-02-07 18:12:43 -08:00
Hayden Bleasel 82bc4a6336 Resolves #373 2026-02-07 17:26:09 -08:00
Hayden Bleasel 34041c7ad2 Update docs 2026-02-03 11:23:13 -08:00
Hayden Bleasel 77f624ba5d Update docs 2026-02-01 22:44:13 -08:00
Hayden Bleasel f036ea4da2 Update geistdocs.tsx 2026-01-30 18:13:04 -08:00