The essence of the above function is that the first column contains the program text written in machine style (the raw function), and the second column contains the result of executing this code. For some reason, the function does not work, although the editor does not find any problems.
Hello. The function does work, but in order to use a monospaced font, the show rule must be defined before the place where it supposed to be used. Moreover, the raw() function only support str type, but the show rule’s argument is of type content. Can you provide an example of the code and result you want to use? Where the vline is supposed to be horizontal-wise? Here is something that you might want:
Since this is more of a question and less of a discussion, the topic category should be Questions and not General. And as such, the topic name should be a question that describes what you actually want to make.
When you want to include a Typst code, you can add typ like so:
```typ
```
This will add nice syntax highlighting. For a nested code block: