Skip to content

Instantly share code, notes, and snippets.

@balain
Created December 29, 2020 21:01
Show Gist options
  • Save balain/8187b41724342d7ee7809f6842706069 to your computer and use it in GitHub Desktop.
Save balain/8187b41724342d7ee7809f6842706069 to your computer and use it in GitHub Desktop.
Simple timeline - JSON -- for use with 'Simple timeline - HTML'
[
{ "id": 1, "content": "A", "start": "2020-06-20", "title": "This is a <B>title</B> for item A", "group": "group1" },
{ "id": 2, "content": "item 2", "start": "2020-04-14", "group": "group1" },
{ "id": 3, "content": "item 3", "start": "2020-04-18", "group": "group2" },
{ "id": 4, "content": "item 4", "start": "2020-04-16", "end": "2020-05-29", "className": "testA", "group": "group2" },
{ "id": 5, "content": "item 5", "start": "2020-05-25", "end": "2020-06-07", "group": "group3" },
{ "id": 6, "content": "item 6", "start": "2020-11-27", "type": "point", "group": "group1" },
{ "id": 7,
"content": "Background<BR>Item #<B>7</B>",
"start": "2020-12-01",
"end": "2021-03-10",
"type": "background",
"className": "groupA"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment