GitHub Hot Board

GitHub Hot Board · Hồ sơ kho lưu trữ

hexmora/fluxdown

A reactive, extensible Markdown renderer built for streaming, ready to use out of the box with a renderer-agnostic core. (Mô tả đến từ chính kho lưu trữ.)

Dữ liệu tại October 25hexmora

Thứ hạng tốt nhất

#281

Kho Báu Bị Lãng Quên

100

Tổng sao

0

Tổng fork

1

Số ngày có mặt (30 ngày)

Giấy phép: MITPush gần nhất: October 25Issue mở (gồm PR): 3Thu thập từ 2026-10-25; chưa rõ = chưa thu thập được

Tài liệu dự án

Fluxdown

A Markdown renderer built for streaming.

Website · Playground · Documentation · 简体中文

Fluxdown keeps streaming Markdown readable, from unfinished syntax to the final response. Use it for AI conversations, live writing, and other interfaces where text keeps growing.

  • Smooth streaming. Reveal incoming text gradually and handle unfinished links, emphasis, and code.
  • Less repeated work. Block-level caching reuses stable content as the message grows.
  • Familiar Markdown. Render GFM tables, task lists, strikethrough, and autolinks, with code highlighting and optional math.
  • Adaptable presentation. Customize themes, replace components, or extend parsing and rendering with plugins.
  • A framework-independent core. Start with the React component or build a renderer for your own interface.

Get started

In a React 18 or 19 app:

pnpm add fluxdown
import { Fluxdown } from "fluxdown";

type MessageProps = {
  text: string;
  isStreaming: boolean;
};

export function Message({ text, isStreaming }: MessageProps) {
  return <Fluxdown text={text} streaming={isStreaming} />;
}

Pass the full message received so far as text. Set isStreaming to false when generation finishes, is cancelled, or fails. For static content, omit streaming.

If your bundler does not load the styles automatically, add this to your app's global style entry:

import "fluxdown/styles.css";

See the React quick start for more examples.

Packages

Package Use it for
fluxdown Ready-to-use Markdown rendering in React.
@fluxdown/react-native Ready-to-use Markdown rendering in React Native.
@fluxdown/lynx Ready-to-use Markdown rendering in ReactLynx.
@fluxdown/core Parsing, repair, and reactive content blocks for a custom renderer.
stative Composable state and derived computations, also used by Core.

Documentation

  • Streaming — connect incoming text and control streaming effects.
  • Styling — adjust themes, typography, and layout.
  • Plugins — customize syntax, content, and interactions.
  • Core — work with reactive content blocks directly.
  • Stative — create and compose state flows.

Contributing

Bug reports, documentation improvements, and pull requests are welcome. Use issues to report bugs or discuss ideas. A minimal reproduction helps us investigate a problem.

See CONTRIBUTING.md for development setup and pull request guidelines. Report vulnerabilities privately as described in SECURITY.md.

Contributors

Thanks to everyone who contributes code, documentation, bug reports, and ideas.

Contributors

License

MIT

Thứ hạng hiện tại

  • 281

    Kho Báu Bị Lãng Quên

    100 sao · 0 fork · Tổng Star (tăng dần)

    Lãng quên →

Diễn biến 30 ngày

Tổng số sao

Diễn biến thứ hạng

Gắn huy hiệu vào README của bạn · hexmora/fluxdown[![Gắn huy hiệu vào README của bạn](https://git.vaiox.xyz/api/badge/hexmora/fluxdown.svg)](https://git.vaiox.xyz/vi/repo/hexmora/fluxdown)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/vi/repo/hexmora/fluxdown"><img src="https://git.vaiox.xyz/api/badge/hexmora/fluxdown.svg" alt="Gắn huy hiệu vào README của bạn" height="20"></a>

← Về bảng xếp hạng

GitHub Hot BoardCỗ Máy Thời GianKhám phá联系我们 · Contact