Rust code block:
```rust
fn main() {
println!("hello!");
}
```
fn main() {
println!("hello!");
}
Rust code block with hidden lines.
```rust
# use std::marker::PhantomData;
#
# fn main() {
println!("hello!");
# }
```
use std::marker::PhantomData;
fn main() {
println!("hello!");
}
Python code block:
```python
print("hello")
print("world")
```
print("hello")
print("world")
Python code block with hidden lines:
# book.toml
[output.html.code.hidelines]
python = "~"
```python
print("hello")
~ print("hidden")
print("world")
```
print("hello")
print("hidden")
print("world")
Python code block with hidden lines (last line bug):
# book.toml
[output.html.code.hidelines]
python = "~"
```python
print("hello")
print("world")
~ print("hidden")
```
print("hello")
print("world")
print("hidden")