Skip to content

Quick Start

最小の .tdsl ファイルを作り、CLIで検証します。

timeline "Sample" {
title "Sample";
unit year;
range 2025..2027;
calendar proleptic_gregorian;
}
lane "Project" as project { kind custom; order 10; }
event project 2026 "Kickoff" { id "event:kickoff"; };

保存したファイルをCLIで検証し、ビルドします。

Terminal window
tdsl check sample.tdsl
tdsl build sample.tdsl --pretty

出力が成功すれば、年表データとして解釈できています。

ブラウザで確認する場合は、スタンドアロンHTMLとして描画します。

Terminal window
tdsl render sample.tdsl --output sample.html
  • 複数イベントを追加する
  • レーンで分類する
  • Commands で用途ごとのCLIを確認する
  • CIで tdsl checktdsl lint を実行する