-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Ingorable Rust snippets #423
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
Comments
There is a PR open #404 to add a |
|
Hi @dragostis The code snippets are not compiled unless you:
In all cases all you need is one of two annotations for code blocks:
in case 1. you'll need PR #404 to be merged for the play button to respect |
Oh, I see. That makes complete sense. However, is there a way to add crate dependencies? |
It depends on which of the three cases are you thinking.
I hope that solves your problem. |
Thank you for the detailed answer. That makes sense. I guess this should probably be covered in book. |
@dragostis Indeed it should! We are planning to release a new version (which is mostly blocked on minor regressions to be fixed and documentation update). Unfortunately the progress with docs update is slow as we do not have as much time on our hands as we would like ;) If you are willing to contribute some time to provide a PR that would update the docs somewhat It would be more than welcome :) |
Is there a way to add ignorable Rust snippets like in rustdoc?
The text was updated successfully, but these errors were encountered: