| Crates.io | mdbook-gabc |
| lib.rs | mdbook-gabc |
| version | 0.0.1 |
| created_at | 2023-09-21 20:35:03.578759+00 |
| updated_at | 2023-09-21 20:35:03.578759+00 |
| description | mdbook preprocessor to add gabc support |
| homepage | https://github.com/jleano/mdbook-gabc |
| repository | https://github.com/jleano/mdbook-gabc |
| max_upload_size | |
| id | 980017 |
| size | 247,333 |
A preprocessor for mdbook to add gabc support.
It turns this:
```gabc
(f3) EC(ce!fg)CE(f) *(,) ad(fe~)vé(f!gwhf)nit(f) (,)
```
into this:

in your book.
If you want to use only this preprocessor, install the tool:
cargo install mdbook-gabc
Then let mdbook-gabc add the required files and configuration:
mdbook-gabc install path/to/your/book
This will add the following configuration to your book.toml:
[preprocessor.gabc]
command = "mdbook-gabc"
[output.html]
additional-js = ["exsurge.min.js", "exsurge-init.js"]
It will skip any unnecessary changes and detect if mdbook-gabc was already configured.
Additionally it copies the files exsurge.min.js and exsurge-init.js into your book's directory.
You find these files in the src/bin/assets directory.
Finally, build your book:
mdbook path/to/book
MPL. See LICENSE.
Copyright (c) 2023 Joseph Leano josephleano@gmail.com
Exsurge is MIT licensed.
The bundled assets (exsurge.min.js) are MIT licensed.