remend@1.3.0

vercel/streamdownremend@1.3.0Mar 17, 2026

AI Summary

This minor release adds opt-in inline KaTeX completion support and fixes single tilde escaping to prevent false strikethrough rendering in text like temperature readings.

Key Highlights

  • Add opt-in inline KaTeX completion ($formula$ → $formula$) via inlineKatex option
  • Escape single ~ between word characters to prevent false strikethrough (e.g., 20~25°C)
  • Add singleTilde option enabled by default, can be disabled via { singleTilde: false }

New Features

  • inlineKatex option for inline KaTeX completion
  • singleTilde option to prevent false strikethrough

Full Release Notes

### Minor Changes

-   e50b0c4: Add opt-in inline KaTeX completion (`$formula` → `$formula$`) via a new `inlineKatex` option that defaults to `false` to avoid ambiguity with currency symbols. Also fixes block KaTeX completion when streaming produces a partial closing `$`.
-   716a5f0: Escape single `~` between word characters to prevent false strikethrough rendering (e.g. `20~25°C` no longer renders as strikethrough). Adds a new `singleTilde` option (enabled by default) that can be disabled via `{ singleTilde: false }`.