mirror of
https://github.com/cyborg42/epub2mdbook.git
synced 2026-02-10 16:24:50 -05:00
init
This commit is contained in:
commit
749af017ca
6 changed files with 1061 additions and 0 deletions
22
README.md
Normal file
22
README.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# 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")),
|
||||
);
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue