0

If I installed the correct mode and create a block like this.

#+BEGIN_EXAMPLE k8s
...
#+END_EXAMPLE

I got correct syntax highlighting in the example block, but no syntax formatting.

If I enter edit mode using C-c ', I got no syntax highlighting nor formatting. If I switch mode while the buffer in org-src-mode, I cannot exit the edit mode even after I switch back to org-src-mode.

Is it possible to get correct syntax highlighting and formatting in source blocks?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.