All diagram types Open editor

merIDK / Diagram types / Timeline

Mermaid timeline: example and syntax

Timelines list events in date order. Use them for company history, product roadmaps and release notes.

Open this example in the editor

Example code

timeline
    title History of the web
    1991 : First website
    1995 : JavaScript
         : PHP
    2004 : Web 2.0
    2008 : Chrome
    2015 : ES2015

Result

timeline
    title History of the web
    1991 : First website
    1995 : JavaScript
         : PHP
    2004 : Web 2.0
    2008 : Chrome
    2015 : ES2015

Syntax quick reference

How to use it

  1. Open the example in the editor, or paste your own Mermaid code.
  2. Edit the code on the left. The preview updates as you type, and errors point to the line.
  3. Export SVG or PNG, copy a Markdown block for GitHub or Notion, or copy a share link.

More diagram types