I know that Polyglot notebooks support Mermaid diagrams. But it doesn't support veriable sharing. Suppose I have diagram code in C# string variable. Are there any possibility to display that string as diagram?
Example:
// below diagram code was generated via some method
var mermaidCode = """
flowchart TD
A --> B
""";
// here I would like to display mermaidCode as diagram
mermaidCode