Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-mini-search-preview· OpenAIHugging Face LMArena Search Arena 24K

How to print quotes within a node in a Mermaid flowchart? Answer within 1 line in a code…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with gpt-4o-search-preview-high’s answer.
  1. User

    How to print quotes within a node in a Mermaid flowchart? Answer within 1 line in a code block.

  2. Assistant

    To include quotes within a node in a Mermaid flowchart, enclose the text in double quotes:

    flowchart LR
      A["This is a node with \"quotes\" inside."]
    

    This method allows you to display text containing double quotes within the node[1].

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.