Since git #tuleap/stable/944fd4f2ab61999408f2b1e06dba5b95fd7ab3d6, mermaid diagrams and syntax highlighting blocks are rendered when the user hit the preview button of the editor in the artifact.
However, it only works when the corresponding assets are already loaded on the page (the artifact already contains such blocks).
We should find a way to dynamically load the assets when needed, or always load them on the page.