Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to skip code blocks based on the programming language #76

Open
mgeisler opened this issue Sep 11, 2023 · 5 comments
Open
Labels
good first issue Good for newcomers

Comments

@mgeisler
Copy link
Collaborator

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.

@mgeisler
Copy link
Collaborator Author

This is an extension of #63.

@mgeisler
Copy link
Collaborator Author

@dyoo, would you also be interested in this one?

@dyoo
Copy link
Collaborator

dyoo commented Sep 11, 2023

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 #63 (comment)

@mgeisler
Copy link
Collaborator Author

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 #63 (comment)

Yeah, precisely!

@mgeisler mgeisler added the good first issue Good for newcomers label Sep 23, 2024
@mgeisler
Copy link
Collaborator Author

Hi @dyoo, I think we can unassign this for now. You should of course feel free to jump back in 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants