Home

Awesome

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.