katex_dart 0.1.0 copy "katex_dart: ^0.1.0" to clipboard
katex_dart: ^0.1.0 copied to clipboard

A pure-Dart port of KaTeX. Parses LaTeX math to a backend-agnostic box tree and serializes it to SVG — no Flutter dependency.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add katex_dart

With Flutter:

 $ flutter pub add katex_dart

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

dependencies:
  katex_dart: ^0.1.0

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

Import it

Now in your Dart code, you can use:

import 'package:katex_dart/katex_dart.dart';
0
likes
140
points
151
downloads

Documentation

API reference

Publisher

verified publisherroszkowski.dev

Weekly Downloads

A pure-Dart port of KaTeX. Parses LaTeX math to a backend-agnostic box tree and serializes it to SVG — no Flutter dependency.

Homepage
Repository (GitHub)
View/report issues

Topics

#latex #katex #math #svg #rendering

License

MIT (license)

Dependencies

args, meta

More

Packages that depend on katex_dart