Syntax Highlighting with Kirbytext?

Kirby3 latest version
yes I use backticks, looks like this

```python
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
from matplotlib import style (4 spaces are in front)
from matplotlib import gridspec (one tab is in front)
```

if I paste this here directly I get …

import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
   from matplotlib import style (4 spaces)
	from matplotlib import gridspec (one tab)

so here it works as expected.
So with editor I mean

type: markdown

in my blueprint.

Hm, I don’t know about the markdown field, but in a standard textarea field the spaces are preserved if code is wrapped in backticks.

On a side note, it doesn’t make sense to post in the Kirby 2 category if it is about Kirby 3. Better open a new issue in the future to avoid confusion.

yeah I noticed Kirby2 after you asked …

I’ll try the textarea, that would do for me.
thx
Hagen