Hello.
I’m trying to insert an example shortcode into a page, and I’d like to write the code, but it’s impossible for Grav not to render the code. This is my code (I wrap it in the three back quotes):
[sc-table header=true class="alt"]
| Header 1 | Header 2 | Header 3 | Header 4 |
| Cell 1 | Cell 2 | Cell 3 | Cell 4 |
| Cell 5 | Cell 6 | Cell 7 | Cell 8 |
[/sc-table]
I would like to get exactly the same as in this post, the code is displayed as a code, without rendering.
In my case, this code is rendering, showing the table.
How can I get it?
What I have done so far:
- Activate extra markdown in settings
- Add ```markdown to the beginning of the block
- I have tried with [raw], but although it shows the code, it does not respect the indentation.
Thanks in advance