A mdBook preprocessor for writing play scripts. The library crate for this preprocessor is mdplayscript.
For Japanese users, there is Japanese README.
This preprocessor can be installed with cargo:
cargo install mdbook-playscript
You can use mdbook-playscript
preprocessor by adding the following config to your book.toml
.
You must specify the additional-css
for the HTML backend by hand.
```toml [preprocessor.playscript] command = "mdbook-playscript"
[output.html] additional-css = ["mdplayscript.css"] ```
The README of mdplayscript explains basic notations.
An example of a source of mdBook with mdbook-playscript
is placed in examples/figaro.
The generated example is hosted on github pages.