Last active
October 30, 2017 15:26
-
-
Save fhightower/d21b2f9b257d5314b1a505d3035ae19a to your computer and use it in GitHub Desktop.
Basic json layout for timeline.js (https://github.com/NUKnightLab/TimelineJS3) based on the docs: https://timeline.knightlab.com/docs/json-format.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var json = { | |
'events': [{ | |
'start_date': { | |
'year': '2012' | |
}, | |
'text': { | |
'headline': '2012 - A Great Year', | |
'text': "2012 was a great year" | |
}, | |
}, { | |
'start_date': { | |
'year': '2013' | |
}, | |
'text': { | |
'headline': '2013 - Another Great Year', | |
'text': "2013 was another great year" | |
}, | |
}], | |
'title': { | |
'text': { | |
'headline': 'Basic Timeline', | |
'text': "A basic timeline." | |
}, | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment