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