rust-lang / mdBook

Create book from markdown files. Like Gitbook but implemented in Rust
https://rust-lang.github.io/mdBook/
Mozilla Public License 2.0
18.11k stars 1.63k forks source link

Make MathJax optional #347

Closed budziq closed 7 years ago

budziq commented 7 years ago

Basically like in case of ACE. MathJax is a large dependency that might be seldom required

Additionally it blocks offline reading https://github.com/rust-lang/book/issues/711 due to how it is incrementally loaded from cdn.

It would be preferable to have MathJax as an optional dependency with key in the book.toml.

blocked on https://github.com/azerupi/mdBook/pull/335 - will need to wait until curent hbs_renderer refactor is finished.

Michael-F-Bryan commented 7 years ago

335 just got merged, so it should no longer be blocking this.

budziq commented 7 years ago

335 just got merged, so it should no longer be blocking this.

Yup ;) I'll look into this issue later on.