-
Notifications
You must be signed in to change notification settings - Fork 0
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
Breaks hide lines feature of mdbook #1
Comments
Thank you for your feedback. I'm glad that my project helps you. I don't know this mdbook trick before. However I don't know that is it actually necessary to include this feature. Because you can just remove these lines in your codeblock rather than using a prefix to hide it. I'll take a consideration and do some experiments. Tell me if you do need this feature, I can create a new release based for it. |
Yes this feature is quite useful. At multiple places I want to hide some code and only keep an important section of code visible to the reader. This use case usually occur when showing some incremental changes for a function. |
Okay then I'll create a new release about it. Feel free to tell me if you have any other questions or suggestions. |
I have create a new release about it, you can check it out here. |
Thanks for the feature. |
mdbook provide a feature to hide some line from code block. As explained here . I am trying to use mdbook-repl preprocessor to have some javascript example in my book. But mdbook-repl is making the code line visible.
book.toml
markdown from chapter
Expected view(this is without javascript.enable = true)
Actual view(with javascript.enable = true)
The text was updated successfully, but these errors were encountered: