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

Error in hiding part of an example #1091

Closed
sebastianv89 opened this issue Nov 7, 2019 · 1 comment
Closed

Error in hiding part of an example #1091

sebastianv89 opened this issue Nov 7, 2019 · 1 comment

Comments

@sebastianv89
Copy link

See the last example in this section: https://rust-lang.github.io/mdBook/format/mdbook.html#including-a-file-but-initially-hiding-all-except-specified-lines
It has not hidden one of the leading # symbols. This is not just less pretty, but it also breaks running the code on the playground. See the following screenshot.

screenshot

When expanding the code (as you can see in the below screenshot), it appears that the issues is with the # on an empty line:
screenshot expanded

@ehuss
Copy link
Contributor

ehuss commented Nov 7, 2019

Thanks for the report. This has been fixed in #1088, and I'll probably make a new release soonish.

@ehuss ehuss closed this as completed Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants