I am trying to run a --run command with --exit-after-run, but it looks to fail when there is a Mermaid cell. But there is no bug if the Mermaid cell has a Markdown cell before.
Here is a dib file starting by a Mermaid cell:
#!meta
{"kernelInfo":{"defaultKernelName":"csharp","items":[{"aliases":[],"languageName":"csharp","name":"csharp"}]}}
#!mermaid
flowchart LR
A[Hard] -->|Text| B(Round)
B --> C{Decision}
C -->|One| D[Result 1]
C -->|Two| E[Result 2]
If there is a Markdown cell before the Mermaid cell, it seems to work.
#!meta
{"kernelInfo":{"defaultKernelName":"csharp","items":[{"aliases":[],"languageName":"csharp","name":"csharp"}]}}
#!markdown
text
#!mermaid
flowchart LR
A[Hard] -->|Text| B(Round)
B --> C{Decision}
C -->|One| D[Result 1]
C -->|Two| E[Result 2]
I am trying to run a
--run
command with--exit-after-run
, but it looks to fail when there is a Mermaid cell. But there is no bug if the Mermaid cell has a Markdown cell before.Here is a dib file starting by a Mermaid cell:
I am running the following command:
The output ipynb displays an error
Unrecognized command or argument '#!mermaid'.
:If there is a Markdown cell before the Mermaid cell, it seems to work.
The output ipynb without errors:
I did a few tests: