explain this
- User
explain this
Assistant
The Mermaid library, which is used to create diagrams and flowcharts, does not support Markdown lists. When a user tries to use a Markdown list in a diagram, they will see an error message that says "Unsupported markdown: list". This issue has been reproduced in multiple browsers, including Chrome and Safari, and is specific to Mermaid version 11.4.1.
The issue can be demonstrated with two examples:
- Using a Markdown list with hyphens (-):
codeflowchart LR A[Node 1] --> B["`- Line1 - Line 2 - Line 3`"]This will result in the error "Unsupported markdown: list" when the graph is rendered.
- Using a Markdown list with asterisks (*):
codeflowchart LR A[Node 1] --> B["`* Line1 * Line 2 * Line 3`"]This will also result in the error "Unsupported markdown: list" when the graph is rendered.
A workaround for this issue is to use alternative characters, such as • or -, instead of hyphens or asterisks. For example:
code
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.