Why codes not render in shortcodes?

Shortcode

<div class="fancycode code">
    <div class="controls">
        <div class="circle red"></div>
        <div class="circle yellow"></div>
        <div class="circle green"></div>
    </div>
    <div class="content">
        {{ body | markdown | safe }}
    </div>
</div>

Input

{% code() %}
```css
.fancycode.mini .controls {
    display: none;
}

.fancycode:not(.mini) .content {
    padding-top: 2rem;
}

```
{% end %}

Output

The difference is because the markdown filter doesn’t get the theme from the config.
There is https://github.com/getzola/zola/issues/943 to track that and I’ll happily take a PR for it