Test RevealJS

Full configuration

Show code
---
toastui:
  options-all:
    defaultView: week
    height: 520px
    navigation: true
    date: "2026-04-15"
    file: data/events.tsv
    file-sep: "\t"
    isReadOnly: true
    useDetailPopup: true
    eventDetailItems:
      - location
      - calendar
    popupDetailItems:
      - location
      - calendar
    timeFormat: "24h"
    usageStatistics: false
    gridSelection:
      enableClick: true
      enableDblClick: false
    month:
      startDayOfWeek: 1
      narrowWeekend: true
      workweek: false
      visibleWeeksCount: 0
      isAlways6Weeks: true
      visibleEventCount: 6
    week:
      startDayOfWeek: 1
      narrowWeekend: false
      workweek: false
      showNowIndicator: true
      showTimezoneCollapseButton: false
      timezonesCollapsed: false
      hourStart: 6
      hourEnd: 22
      eventView: true
      taskView: true
      collapseDuplicateEvents: false
    timezone:
      zones:
        - timezoneName: Europe/Stockholm
          displayLabel: Stockholm
        - timezoneName: Europe/London
          displayLabel: London
    theme:
      common:
        backgroundColor: "#ffffff"
    template:
      milestone: "${title}"
    calendars:
      - id: cal1
        name: Personal
        color: "#ffffff"
        backgroundColor: "#03bd9e"
        dragBackgroundColor: "#03bd9e"
        borderColor: "#03bd9e"
      - id: cal2
        name: Work
        color: "#ffffff"
        backgroundColor: "#00a9ff"
        dragBackgroundColor: "#00a9ff"
        borderColor: "#00a9ff"

---

{{< toastui options-all >}}

Week view no navigation

Show code
---
toastui:
  options-week-time-only-no-buttons:
    defaultView: week
    navigation: false
    isReadOnly: false
    date: "2026-04-17"
    file: data/events.csv
    file-sep: ","
    height: 520px
    week:
      eventView:
        - time
      taskView: false
    calendars:
      - id: cal1
        name: Personal
        backgroundColor: "#03bd9e"
      - id: cal2
        name: Work
        backgroundColor: "#00a9ff"
---

{{< toastui options-week-time-only-no-buttons >}}

Timezone: naive timestamps (DST-aware)

Automatic hour range

Basic inline

Show code
{{< toastui file="data/events.tsv" file-sep="\t" defaultView="month" height="520px" navigation="true" date="2026-04-12" >}}

CSV file

Show code
{{< toastui file="data/events.csv" file-sep="," defaultView="month" date="2026-04-15" height="520px" >}}

Workshop week

Show code
{{< toastui file="data/workshop-week.tsv" file-sep="\t" defaultView="week" date="2026-04-20" height="520px" useDetailPopup="true" week='{"hourStart": 9, "hourEnd": 17, "eventView":["time"], "taskView": false}' >}}

Missing critical column start

Show code
{{< toastui file="data/bad-missing-start.csv" file-sep="," defaultView="week" height="520px" >}}
toastui: events file /home/runner/work/quarto-toastui/quarto-toastui/data/bad-missing-start.csv is missing required columns: start

Missing critical column title

Show code
{{< toastui file="data/bad-missing-title.tsv" file-sep="\t" defaultView="month" height="520px" >}}
toastui: events file /home/runner/work/quarto-toastui/quarto-toastui/data/bad-missing-title.tsv is missing required columns: title

Empty file

Show code
{{< toastui file="data/bad-empty.tsv" file-sep="\t" defaultView="week" height="520px" >}}
toastui: events file is empty: /home/runner/work/quarto-toastui/quarto-toastui/data/bad-empty.tsv

File does not exist

Show code
{{< toastui file="data/does-not-exist.tsv" file-sep="\t" defaultView="week" height="520px" >}}
toastui: cannot open events file: /home/runner/work/quarto-toastui/quarto-toastui/data/does-not-exist.tsv

Multiple bad rows list output

Show code
{{< toastui file="data/bad-multiple-row-errors.csv" file-sep="," defaultView="week" height="520px" >}}
  • toastui: event #1 from /home/runner/work/quarto-toastui/quarto-toastui/data/bad-multiple-row-errors.csv is missing required field 'end'
  • toastui: event #2 from /home/runner/work/quarto-toastui/quarto-toastui/data/bad-multiple-row-errors.csv is missing required field 'title'
  • toastui: event #3 from /home/runner/work/quarto-toastui/quarto-toastui/data/bad-multiple-row-errors.csv is missing required field 'start'

File without header row

Show code
{{< toastui file="data/bad-no-header.tsv" file-sep="\t" defaultView="week" height="520px" >}}
toastui: events file /home/runner/work/quarto-toastui/quarto-toastui/data/bad-no-header.tsv is missing required columns: title, start, end

Inline YAML style week object

Show code
{{< toastui file="data/events.tsv" file-sep="\t" defaultView="week" date="2026-04-15" height="520px" week='{"hourStart": 7, "hourEnd": 19, "eventView":["time"], "taskView": false, "workweek": true}' >}}

Inline YAML style month object

Show code
{{< toastui file="data/events.csv" file-sep="," defaultView="month" date="2026-04-01" height="520px" month='{"startDayOfWeek": 1, "narrowWeekend": true, "isAlways6Weeks": true, "visibleEventCount": 4}' >}}

Inline YAML style calendars array

Show code
{{< toastui file="data/events.csv" file-sep="," defaultView="week" date="2026-04-17" height="520px" calendars='[{"id":"cal1","name":"Personal","backgroundColor":"#03bd9e","color":"#ffffff"},{"id":"cal2","name":"Work","backgroundColor":"#00a9ff","color":"#ffffff"}]' >}}

Inline YAML style timezone object

Show code
{{< toastui file="data/events.tsv" file-sep="\t" defaultView="week" date="2026-04-15" height="520px" timezone='{"zones":[{"timezoneName":"Europe/Stockholm","displayLabel":"Stockholm"},{"timezoneName":"Europe/London","displayLabel":"London"}]}' week='{"showTimezoneCollapseButton": true, "timezonesCollapsed": false}' >}}