All Projects → xu-cheng → katex-rs

xu-cheng / katex-rs

Licence: Apache-2.0, MIT licenses found Licenses found Apache-2.0 LICENSE-APACHE MIT LICENSE-MIT
Rust bindings to KaTeX

Programming Languages

rust
11053 projects
shell
77523 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to katex-rs

Ngx Markdown
Angular markdown component/directive/pipe/service to parse static, dynamic or remote content to HTML with syntax highlight
Stars: ✭ 687 (+654.95%)
Mutual labels:  katex
Vue Katex
Vue plugin for KaTeX
Stars: ✭ 82 (-9.89%)
Mutual labels:  katex
Infinitex
A LaTeX and WYSIWYG editor with academic search functionality and other helpful tools
Stars: ✭ 145 (+59.34%)
Mutual labels:  katex
Prosemirror Math
Schema and plugins for "first-class" math support in ProseMirror!
Stars: ✭ 43 (-52.75%)
Mutual labels:  katex
Article
Components for interactive scientific writing, reactive documents and explorable explanations.
Stars: ✭ 77 (-15.38%)
Mutual labels:  katex
Remark Math
remark and rehype plugins to support math
Stars: ✭ 129 (+41.76%)
Mutual labels:  katex
Franklin.jl
(yet another) static site generator. Simple, customisable, fast, maths with KaTeX, code evaluation, optional pre-rendering, in Julia.
Stars: ✭ 413 (+353.85%)
Mutual labels:  katex
Jekyll Spaceship
🚀 A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, mermaid, emoji, video, audio, youtube, vimeo, dailymotion, soundcloud, spotify, etc.
Stars: ✭ 196 (+115.38%)
Mutual labels:  katex
Spmathkit
Render math exercises for your view. Contains the rendering of mathematical formulas and mathematical graphics, as well as the general text
Stars: ✭ 81 (-10.99%)
Mutual labels:  katex
Vditor
♏ 一款浏览器端的 Markdown 编辑器。
Stars: ✭ 1,742 (+1814.29%)
Mutual labels:  katex
Yii2 Quill
Yii 2 implementation of Quill, modern WYSIWYG editor
Stars: ✭ 52 (-42.86%)
Mutual labels:  katex
Jekyll Katex
Jekyll plugin for easy server-side math rendering via KaTeX
Stars: ✭ 73 (-19.78%)
Mutual labels:  katex
Editor.md
The open source embeddable online markdown editor (component).
Stars: ✭ 11,741 (+12802.2%)
Mutual labels:  katex
Dominhhai.github.io
My Blog
Stars: ✭ 8 (-91.21%)
Mutual labels:  katex
Flutter tex
A Flutter Package to render Mathematics, Physics and Chemistry Equations based on LaTeX
Stars: ✭ 161 (+76.92%)
Mutual labels:  katex
Mdmath
LaTeX Math for Markdown inside of Visual Studio Code.
Stars: ✭ 675 (+641.76%)
Mutual labels:  katex
Gatsby Starter Lumen
A constantly evolving and thoughtful architecture for creating static blogs.
Stars: ✭ 1,797 (+1874.73%)
Mutual labels:  katex
Katex
Fast math typesetting for the web.
Stars: ✭ 14,623 (+15969.23%)
Mutual labels:  katex
Oboe
🗄 A simple tool to convert an Obsidian vault into a static directory of HTML files.
Stars: ✭ 168 (+84.62%)
Mutual labels:  katex
Katex
Android Katex library to render math Formula faster in android using khanacademy Katex
Stars: ✭ 135 (+48.35%)
Mutual labels:  katex

katex-rs

Build Status Latest Version Rust Documentation

This crate offers Rust bindings to KaTeX. This allows you to render LaTeX equations to HTML.

Documentation

https://docs.rs/katex

Usage

Add this to your Cargo.toml:

[dependencies]
katex = "0.4"

This crate offers the following features:

  • quick-js: Enable by default. Use quick-js as the JS backend.
  • duktape: Use duktape as the JS backend. You need to disable the default features to enable this backend.
  • wasm-js: Use wasm-bindgen and js-sys as the JS backend. You need to disable the default features to enable this backend.

Examples

let html = katex::render("E = mc^2").unwrap();

let opts = katex::Opts::builder().display_mode(true).build().unwrap();
let html_in_display_mode = katex::render_with_opts("E = mc^2", &opts).unwrap();

See Also

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].