You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code block has an eyeball icon (<iclass="fa fa-eye"></i>) which will toggle the visibility of the hidden lines.
31
+
When you tap or hover the mouse over the code block, there will be an eyeball icon (<iclass="fa fa-eye"></i>) which will toggle the visibility of the hidden lines.
31
32
32
33
By default, this only works for code examples that are annotated with `rust`.
33
34
However, you can define custom prefixes for other languages by adding a new line-hiding prefix in your `book.toml` with the language name and prefix character(s):
@@ -59,7 +60,7 @@ nothidden():
59
60
60
61
This behavior can be overridden locally with a different prefix. This has the same effect as above:
0 commit comments