mdbook-i18n-helpers
mdbook-i18n-helpers copied to clipboard
Make it possible to skip code blocks based on the programming language
It feels like it would be useful to let users skip code blocks based on the info string (the part after ```).
That would make it easy to, say, skip all TOML and shell script code blocks from Comprehensive Rust.
This is an extension of #63.
@dyoo, would you also be interested in this one?
Sure, I believe it should be straightforward. Yes, let me work on this.
I'm guessing we want to define a list of lang lines to ignore somewhere, perhaps another configuration option in book.toml from the proposal in https://github.com/google/mdbook-i18n-helpers/issues/63#issuecomment-1712518291
I'm guessing we want to define a list of lang lines to ignore somewhere, perhaps another configuration option in
book.tomlfrom the proposal in #63 (comment)
Yeah, precisely!
Hi @dyoo, I think we can unassign this for now. You should of course feel free to jump back in :smile: