Skip to content

Instantly share code, notes, and snippets.

View caesarw's full-sized avatar
🍀
Idling

Caesar Woo caesarw

🍀
Idling
  • Somewhere in the universe
View GitHub Profile
@peterbartha
peterbartha / README.md
Last active June 19, 2024 14:07
Convert Rust books to EPUB (incl. The Rust Programming Language)

Convert Rust books to EPUB (incl. The Rust Programming Language)

The following steps work for all the HTML learning materials on the Learn Rust page:

  1. Click on the "Print this book" icon in the top right corner.
  2. "Cancel" print popup.
  3. Press F12.
  4. Copy, paste, and run the contents of ebookFormatPreparation.js into your browser's console.
  5. Save the modified HTML file.