fix readme

This commit is contained in:
Maverick Liu 2025-02-23 18:18:20 +08:00
parent 6bfb11078f
commit ef9ded9a17
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View file

@ -192,7 +192,7 @@ dependencies = [
[[package]]
name = "epub2mdbook"
version = "0.13.0"
version = "0.14.0"
dependencies = [
"clap",
"epub",

View file

@ -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>"]

View file

@ -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);
```