GitHub 火線榜

GitHub 火線榜 · 倉庫檔案

hexmora/fluxdown

A reactive, extensible Markdown renderer built for streaming, ready to use out of the box with a renderer-agnostic core. (簡介來自倉庫自身文件。)

資料截至 October 25hexmora

最好成績

#281

被忽視榜 · 活躍卻無人問津

100

累計 Star

0

Fork 總數

1

近 30 天在榜天數

專案狀態授權條款: MIT最近 push: October 25Open Issues(含 PR): 3

自 2026-10-25 起採集;未知 = 尚未採集到

把上榜徽章放進你的 README · hexmora/fluxdown[![把上榜徽章放進你的 README](https://git.vaiox.xyz/api/badge/hexmora/fluxdown.svg)](https://git.vaiox.xyz/zh-TW/repo/hexmora/fluxdown)
<a href="https://git.vaiox.xyz/zh-TW/repo/hexmora/fluxdown"><img src="https://git.vaiox.xyz/api/badge/hexmora/fluxdown.svg" alt="把上榜徽章放進你的 README" height="20"></a>

專案文件

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/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

當前上榜

  • 281

    被忽視榜 · 活躍卻無人問津

    100 星 · 0 fork · 累計星星(升冪)

    被忽視 →

近 30 天勢頭

累計 Star 走勢

名次走勢

← 回到榜單