Repository navigation
v0.25.0
Changes since v0.24.2.
Early release. In SemVer terms, anything may change before 1.0, including file formats, the HTTP API and settings, though changes to
.ochxand.ochfiles will come with conversions.
Added
<och-timeline>: a timeline in any page or AI chat reply (#566). The new npm package@openchronology/timelineis the offline editor as one element, loaded from jsDelivr or unpkg:<script src="https://cdn.jsdelivr.net/npm/@openchronology/timeline@0.25.0/dist/timeline.js"></script> <och-timeline mode="view" height="480"> <script type="application/json">{ "title": "Moon landings", "presentation": "gregorian", "events": [ … ] }</script> </och-timeline>
- What it shows: the timeline written inside it, opened at its default view, for editing or in View mode, with Export to take it away as
.ochx. - Less to write: it fills in the format, version and description, and
"presentation": "gregorian"stands for the Gregorian time display. - Safe to drop in: it runs in a sandboxed frame of its own with no network requests, so the page and the timeline can't reach each other.
- Where it works: web pages, documentation sites, and the artifacts and HTML previews of AI chats.
/llms.txtpoints models to it (docs).
- What it shows: the timeline written inside it, opened at its default view, for editing or in View mode, with Export to take it away as
- The offline file opens a timeline written into its page (#566), in a compact layout without its header; this is what the element uses.
Upgrading
Install the new package and run openchronology-migrate as usual. There is no migration.