mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

Home Page:https://mermaid.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to put URL in timeline ?

pinage404 opened this issue · comments

Description

Using URL in a timeline break it

Steps to reproduce

  1. Write a timeline
  2. Add an URL

Screenshots

Parse error on line 2:
...ine    2014 : https://mermaid.js.org/
----------------------^
Expecting 'EOF', 'SPACE', 'NEWLINE', 'title', 'acc_title', 'acc_descr', 'acc_descr_multiline_value', 'section', 'period', 'event', got 'INVALID'

Code Sample

timeline
    2014 : https://mermaid.js.org/

Setup

  • Mermaid version: 10.6.1
  • Browser and Version: Firefox

Suggested Solutions

If the content was interpreted as Markdown first, the problem would maybe not happen

Probably related #4743

Additional Context

No response