#font #css #download #executable #mdbook #katex #static

app mdbook_katex_css_download

Executable to download static CSS and fonts for mdbook-katex

4 releases

0.2.2 Jul 10, 2023
0.2.1 May 15, 2023
0.2.0 Apr 3, 2023
0.1.0 Mar 27, 2023

#3 in #katex

MIT license

13KB
63 lines

mdbook-katex CSS Download

Executable to download static CSS and fonts for mdbook-katex.

Self-host KaTeX CSS and fonts.

Usage

  1. Install this executable

    cargo install mdbook_katex_css_download
    
  2. cd to the root of your mdBook project.

  3. Run mdbook_katex_css_download.

  4. If you see no error, you are good to go. If it panics and the first error message suggests connection failure, it might just be a network problem, try again.

  5. If it panics and the error is not connection failure, or it fails again and again, open an issue.

Acknowledgements

A large portion of the code here is extracted from mdbook-katex. The original author of the extracted code is Matthewacon. Their last commit.

Dependencies

~8–24MB
~381K SLoC