#+begin_src dot :file diagram.png
<some diagram code>
#+end_src
When I C-c ' on this block, the content opens in Fundamental mode (but I have Graphviz mode installed). How do I tell Org / Babel to use that mode?
As far as I understand the problem lies with the major-mode name. I solved the issue with the following line of code:
(add-to-list 'org-src-lang-modes (quote ("dot" . graphviz-dot)))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With