Syntax-highlighted code component type?

Is there a Dash component for wrapping literal code text in a container that applies syntax highlighting to its contents?

Use dcc.Markdown with e.g.
```python

```
instead of

```

```

1 Like