pi-search

Crates.iopi-search
lib.rspi-search
version0.2.1
sourcesrc
created_at2022-03-14 13:13:44.185957
updated_at2022-03-15 03:17:32.47012
descriptionSearch digit in pi
homepage
repositoryhttps://github.com/oovm/pi-searcher
max_upload_size
id549822
size13,287,759
SasakiSaki (oovm)

documentation

https://docs.rs/pi-search

README

KaTeX WASM (KaTeX 0.15.2)

Basic

Notice that this does not include css, so cdn still must be included.

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css">
use katex_wasmbind::KaTeXOptions;

fn main() {
    let d = KaTeXOptions::display_mode();
    let i = KaTeXOptions::inline_mode();
    assert_ne!(d.render("\\frac12"), i.render("\\frac12"));
}

Todo list

  • Remove serde dependencies
Commit count: 24

cargo fmt