```cpp
int sum(int a, int b) {
return a + b;
}
```
Bla bla bla
```yaml
name: config
readonly: true
data:
- a
- b
- c
```
Bla bla bla
By clicking on a single button (for example: "format the doc"), all the code snippets (fenced by ``` with a language indication) in the doc are highlighted to the following:
Let's say I have a doc with following contents:
Bla bla bla
```cpp int sum(int a, int b) { return a + b; } ```
Bla bla bla
```yaml name: config readonly: true data: - a - b - c ```
Bla bla bla
By clicking on a single button (for example: "format the doc"), all the code snippets (fenced by ``` with a language indication) in the doc are highlighted to the following:
Bla bla bla
Bla bla bla
Bla bla bla