basic
.
.. timeline::

   - start: 2021-02-03
     name: 2nd draft
   - start: 2022-02-03 02:00 (Europe/Zurich)
     name: 3rd draft
   - start: "2020-02-03 05:00"
     name: 1st draft
   ---
   {{dtrange}} - {{e.name}}
.
<document source="<src>/index.rst">
    <TimelineDiv>
        <enumerated_list classes="timeline-default">
            <list_item classes="timeline">
                <TimelineDiv classes="tl-item" dt="2022-02-03T02:00:00+01:00">
                    <TimelineDiv classes="tl-item-content">
                        <paragraph>
                            Thu 3rd Feb 2022, 02:00 AM (CET) - 3rd draft
            <list_item classes="timeline">
                <TimelineDiv classes="tl-item" dt="2021-02-03T00:00:00+00:00">
                    <TimelineDiv classes="tl-item-content">
                        <paragraph>
                            Wed 3rd Feb 2021 - 2nd draft
            <list_item classes="timeline">
                <TimelineDiv classes="tl-item" dt="2020-02-03T05:00:00+00:00">
                    <TimelineDiv classes="tl-item-content">
                        <paragraph>
                            Mon 3rd Feb 2020, 05:00 AM (UTC) - 1st draft
.

json
.
.. timeline::
   :events-format: json

   [{"start": "2021-02-03", "name": "2nd draft"}]
   ---
   {{dtrange}} - {{e.name}}
.
<document source="<src>/index.rst">
    <TimelineDiv>
        <enumerated_list classes="timeline-default">
            <list_item classes="timeline">
                <TimelineDiv classes="tl-item" dt="2021-02-03T00:00:00+00:00">
                    <TimelineDiv classes="tl-item-content">
                        <paragraph>
                            Wed 3rd Feb 2021 - 2nd draft
.

csv
.
.. timeline::
   :events-format: csv

   start,name
   2021-02-03,2nd draft
   ---
   {{dtrange}} - {{e.name}}
.
<document source="<src>/index.rst">
    <TimelineDiv>
        <enumerated_list classes="timeline-default">
            <list_item classes="timeline">
                <TimelineDiv classes="tl-item" dt="2021-02-03T00:00:00+00:00">
                    <TimelineDiv classes="tl-item-content">
                        <paragraph>
                            Wed 3rd Feb 2021 - 2nd draft
.

external-data-yaml
.
.. timeline::
   :events: data.yaml

   {{dtrange}} - {{e.name}}
.
<document source="<src>/index.rst">
    <TimelineDiv>
        <enumerated_list classes="timeline-default">
            <list_item classes="timeline">
                <TimelineDiv classes="tl-item" dt="2021-02-03T00:00:00+00:00">
                    <TimelineDiv classes="tl-item-content">
                        <paragraph>
                            Wed 3rd Feb 2021 - 1st draft
.

external-data-json
.
.. timeline::
   :events: data.json
   :events-format: json

   {{dtrange}} - {{e.name}}
.
<document source="<src>/index.rst">
    <TimelineDiv>
        <enumerated_list classes="timeline-default">
            <list_item classes="timeline">
                <TimelineDiv classes="tl-item" dt="2021-02-03T00:00:00+00:00">
                    <TimelineDiv classes="tl-item-content">
                        <paragraph>
                            Wed 3rd Feb 2021 - 1st draft
.

external-template
.
.. timeline::
   :events: data.yaml
   :template: template.txt
.
<document source="<src>/index.rst">
    <TimelineDiv>
        <enumerated_list classes="timeline-default">
            <list_item classes="timeline">
                <TimelineDiv classes="tl-item" dt="2021-02-03T00:00:00+00:00">
                    <TimelineDiv classes="tl-item-content">
                        <paragraph>
                            Wed 3rd Feb 2021 - 1st draft
.

duration
.
.. timeline::
   - start: 2021-02-03 13:00:00
     duration: 1day 2hour 30min
   ---
   {{dtrange}}:
   {{duration}}
.
<document source="<src>/index.rst">
    <TimelineDiv>
        <enumerated_list classes="timeline-default">
            <list_item classes="timeline">
                <TimelineDiv classes="tl-item" dt="2021-02-03T00:00:00+00:00">
                    <TimelineDiv classes="tl-item-content">
                        <paragraph>
                            Wed 3rd Feb, 12:00 AM - Thu 4th Feb 2021, 02:30 AM (UTC):
                            1 Day 2 Hours 30 Minutes
.
