mirror of
https://github.com/cyborg42/epub2mdbook.git
synced 2026-02-10 16:24:50 -05:00
fix readme
This commit is contained in:
parent
6bfb11078f
commit
ef9ded9a17
3 changed files with 4 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -192,7 +192,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "epub2mdbook"
|
||||
version = "0.13.0"
|
||||
version = "0.14.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"epub",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "epub2mdbook"
|
||||
version = "0.13.0"
|
||||
version = "0.14.0"
|
||||
edition = "2024"
|
||||
description = "A tool to convert EPUB files to MDBook format"
|
||||
authors = ["Maverick Liu <maverick.liu42@gmail.com>"]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ This is a powerful tool to convert EPUB files to MDBook format.
|
|||
|
||||
```bash
|
||||
cargo install epub2mdbook
|
||||
epub2mdbook --input-epub path/to/input.epub --output-dir path/to/output
|
||||
epub2mdbook path/to/input.epub --output-dir path/to/output
|
||||
```
|
||||
|
||||
### Rust
|
||||
|
|
@ -16,5 +16,5 @@ epub2mdbook --input-epub path/to/input.epub --output-dir path/to/output
|
|||
```rust
|
||||
use epub2mdbook::convert_epub_to_mdbook;
|
||||
|
||||
convert_epub_to_mdbook("path/to/input.epub", Some("path/to/output"), true);
|
||||
convert_epub_to_mdbook("path/to/input.epub", "path/to/output", true);
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue