Both mermaid-mode and ob-mermaid defines the org-babel-execute:mermaid function who controls the evaluation of org-mode mermaid src blocks. When loading both packages, the loading order will determine which one will be applied. This can be confusing. For example, if the mermaid-mode one is the active and you use the :theme parameter (supported by ob-mermaid but not by mermaid-mode), it will be silently ignored.
I think the correct thing to do is to integrate ob-mermaid with mermaid-mode or remove org-babel-execute:mermaid from mermaid-mode.
Both
mermaid-mode
andob-mermaid
defines theorg-babel-execute:mermaid
function who controls the evaluation of org-mode mermaid src blocks. When loading both packages, the loading order will determine which one will be applied. This can be confusing. For example, if themermaid-mode
one is the active and you use the:theme
parameter (supported byob-mermaid
but not bymermaid-mode
), it will be silently ignored.I think the correct thing to do is to integrate
ob-mermaid
withmermaid-mode
or removeorg-babel-execute:mermaid
frommermaid-mode
.