Book formatter
Format text book to html formatted with page separation. Formatting
with html tag <p>
, with page counter insertion (calculated by symbols count).
How it works
- You should have Text book
- Book should separate paragraph as new line.
- Run:
cargo run -- file_name
- Result:
index.html
- To change page size set:
const PAGE_SIZE: u64 = 5400;
Page size calculated by word symbol count.