Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
#+begin_src dot :file diagram.png <some diagram code> #+end_src
当我C-c '在这个块上时,内容以基本模式打开(但我安装了 Graphviz 模式)。我如何告诉 Org / Babel 使用该模式?
据我了解,问题在于主要模式名称。我用以下代码行解决了这个问题:
(add-to-list 'org-src-lang-modes (quote ("dot" . graphviz-dot)))