0.4.0 • Published 9 months ago
@web-printer/mdbook v0.4.0
@web-printer/mdbook
These sites are using rust-lang/mdBook
Installation
pnpm i @web-printer/mdbook
import { Printer } from "@web-printer/core"
import mdbook from "@web-printer/mdbook"
new Printer()
.use(
mdbook({
url: "https://course.rs/about-book.html"
})
)
.print("Rust Course")
Options
{
/**
* Url of website page generated by mdbook, this page must have sidebar outline
* @example
* - "https://course.rs/about-book.html"
* - "https://rust-lang.github.io/mdBook/"
*/
url: string
}
License
MIT ©