Use PrismJS in Live Preview

Use case or problem

In the Basic formatting syntax wiki, it mentions:

Live Preview mode doesn’t support PrismJS and may render syntax highlighting differently.

The native syntax highlighter supports a lot less languages than prismJS.

Proposed solution

Use PrismJS if possible.

Current workaround (optional)

Crtl-E to toggle between views currently.

Related feature requests (optional)

4 Likes

This is a crucial feature to be implemented. Personally speaking, Python and YAML code highlighting are particularly important for my workflow. Currently, the workaround of using Ctrl-E to toggle between views is functional but not ideal. Wish the code syntax highlighting feature can be supported in Live Preview (Editor) mode