Skip to content

Releases: xu-cheng/katex-rs

0.1.3

02 Feb 11:40
414dbec
Compare
Choose a tag to compare
  • Fix incorrect argument_count in TrustCallBack.

0.1.2

02 Feb 11:41
582f23b
Compare
Choose a tag to compare
  • Add support for KaTeX trust options.
let opts = Opts::builder()
    .trust(true)
    .build()
    .unwrap();
let html = render_with_opts(r#"\url{https://www.google.com}"#, opts).unwrap();
let opts = Opts::builder()
    .trust_callback(|ctx: TrustContext| -> bool {
        ctx.command == r#"\url"#
            && ctx.protocol == "https"
            && ctx.url == "https://www.google.com"
    })
    .build()
    .unwrap();
let html = render_with_opts(r#"\url{https://www.google.com}"#, opts).unwrap();

0.1.1

01 Feb 21:38
1212964
Compare
Choose a tag to compare
  • Support more KaTeX options.
  • Improve document.

0.1.0

01 Feb 20:09
ece3f51
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release
  • Initial release.