Since I couldn't find anything as per title, does anyone know what org-babel language could be used as workaround?

Currently I surround code blocks with #+begin_src sh, though in particular the comments " are obvisouly not displayed correctly.

Or in other words (offtopic): What language uses " for comments and is supported by org-babel?

  • Vim script specification – Tobias May 6 '19 at 13:06
  • @Tobias I don't quite understand. Could you please elaborate on the usage of your provided link with org-babel? – user3166159 May 6 '19 at 13:35
  • That is a comment to spare the others the search for the Vim script specification. Maybe you should add that link to your question. Afterwards I can delete my comments. – Tobias May 6 '19 at 15:12

You can try vimrc-mode provided on melpa.

Install it with M-x package-install RET vimrc-mode RET.

Orgmode provides font lock of source blocks for all major modes. So font-locking of source blocks works for vimrc-mode:

You do not have org-babel-execute:vimrc. So execution of vimrc blocks is not possible.

|improve this answer|||||

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.