Skip to main content

llm_markdown_renderer 0.2.1 copy "llm_markdown_renderer: ^0.2.1" to clipboard
llm_markdown_renderer: ^0.2.1 copied to clipboard

Renders Markdown streamed token by token from an LLM without jank. Incremental parsing, stable partial code fences, tables and lists, syntax highlighting.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add llm_markdown_renderer

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  llm_markdown_renderer: ^0.2.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:llm_markdown_renderer/llm_markdown_renderer.dart';
1
likes
160
points
0
downloads
screenshot

Documentation

API reference

Publisher

verified publisherashitanema.dev

Weekly Downloads

Renders Markdown streamed token by token from an LLM without jank. Incremental parsing, stable partial code fences, tables and lists, syntax highlighting.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#markdown #llm #streaming #chat #syntax-highlighting

License

MIT (license)

Dependencies

flutter

More

Packages that depend on llm_markdown_renderer