Kirby 3 code editor plugin

Is there a way to have a textarea as a code editor that keep the code formatting?
Thank you!

If you use three backticks before and after your code blocks, it will keep the formatting…

1 Like

For fields that only contain code, check out the monospace property:

If you add language highlighting, you can pass the language after the opening backticks…

    /// some code