How can I use codly only for specific code blocks?

Going even further, it looks to me like with-codly is pretty much the same as just codly-init here:

#import "@preview/codly:1.2.0": *

```rust
pub fn main() {
    println!("Hello, world!");
}
```

#codly-init[
  ```rust
  pub fn main() {
      println!("Hello, world!");
  }
  ```
]

```rust
pub fn main() {
    println!("Hello, world!");
}
```
2 Likes