HollowMan6 / mdbook-pdf

A backend for mdBook written in Rust for generating PDF based on headless chrome and Chrome DevTools Protocol. (用 Rust 编写的 mdBook 后端,基于headless chrome和Chrome开发工具协议生成PDF)
https://crates.io/crates/mdbook-pdf
GNU General Public License v3.0
153 stars 18 forks source link

Cargo: mdbook-pdf command not found #28

Closed ivakam closed 1 year ago

ivakam commented 1 year ago

I've installed mdbook-pdf via cargo install mdbook-pdf. I can see the binary in my .cargo folder, but it doesn't show up as a cargo command. Mdbook also errors when running mdbook build saying that the pdf backend is not installed.

HollowMan6 commented 1 year ago

https://doc.rust-lang.org/book/ch14-04-installing-binaries.html

You must haven't added $HOME/.cargo/bin to your $PATH, please configure that by referring to Google according to your operating system.