mirror of
https://github.com/cyborg42/epub2mdbook.git
synced 2026-02-10 16:24:50 -05:00
22 lines
378 B
Markdown
22 lines
378 B
Markdown
# EPUB to MDBook Converter
|
|
|
|
This is a powerful tool to convert EPUB files to MDBook format.
|
|
|
|
## Usage
|
|
|
|
### CLI
|
|
|
|
```bash
|
|
cargo run -- --input-epub-path path/to/input.epub --output-dir path/to/output
|
|
```
|
|
|
|
### Rust
|
|
|
|
```rust
|
|
use epub2mdbook::convert_epub_to_mdbook;
|
|
|
|
convert_epub_to_mdbook(
|
|
PathBuf::from("path/to/input.epub"),
|
|
Some(PathBuf::from("path/to/output")),
|
|
);
|
|
```
|