mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-13 13:49:13 +02:00
5c0ed8823f
Bumps the patch group with 2 updates: [serde](https://github.com/serde-rs/serde) and [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark). Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
exerciser
This is an mdBook renderer to generate templates for exercises from the Markdown
source. Given a Markdown file example.md
with one or more sections like:
<!-- File src/main.rs -->
```rust,compile_fail
{{#include example/src/main.rs:main}}
fn some_more_code() {
// TODO: Write some Rust code here.
}
```
and mdbook configuration in book.toml
like:
[output.exerciser]
output-directory = "comprehensive-rust-exercises"
It will create a file
book/exerciser/comprehensive-rust-exercises/example/src/main.rs
with the
appropriate contents.