Tabletop Clocks

An Obsidian plugin for the segmented clocks tabletop games use to track danger, plans and rival factions. Write a line like Alarm 1/4 in a note and it becomes a clock. This page runs the real plugin code in your browser: click a segment to fill up to it, click it again to clear it, and watch the note's text keep the count. A line like Lockpicks: 3 of 5 is a counter, and Until the bells: 0:00 of 10:00 is a stopwatch.

Reading view

The salt merchant's vault

In through the canal gate, up to the reliquary, out before the bells.

The same note, as text

		
Each clock is one line: a name, then filled/size. Add a colour word at the end, or put vs between two clocks to race them.