Closed
Description
Request
Add the ability to transform code block attributes into classes.
Exemple
\ ```rust,ignore,does_not_compile
\ {{#rustdoc_include ../listings/ch09-error-handling/listing-09-10/src/main.rs}}
\ ```
Right now only the first attributes is kept: rust
.
Here I believe it's where the code attributes are being stripped.
mdbook-pandoc/src/preprocess/code.rs
Lines 15 to 46 in 29e4e36
If we could keep classes like does_not_compile
, it would grant the ability to style those code blocks to add some visual In the Epub that it doesn't compile.
Thank you :)!