How to Create Nested Containers

The code block you are using in your post assumes the code is in markup mode, but the code you included is in code mode. Can you change it to match, one way or the other? This makes the formatting work correctly.

```
#let variable = 0
```
```typc
let variable
```

The code you posted does not result in any output because it cannot be compiled. Posting a Short, Self Contained, Correct (Compilable), Example (SSCCE) highlights to others what specifically is going wrong. Otherwise they have to troubleshoot things that are not part of your actual question.

As a bonus, preparing a SSCCE sometimes results in the problem becoming so obvious that the solution is also obvious.


I got your code to run and I see that content is already indented depending on what heading it falls under. Can you give an example or more details about what result you are looking for exactly? As it stands I don’t know how to provide information to you that would actually get you closer to the solution you are looking for.


Please review the FAQ and How to post in the Questions category. Following these guidelines can help get people interested in solving your problem, or at least lower the boundary for them to help.

3 Likes