catalyys79 downloadsRun interval timers from timer code blocks with sets, work and pause durations for workout or other stuff.
Turns a timer code block into an interval timer with Start / Skip / Reset and a beep between steps.
```timer
title: workout1
sets: 2
work: 15s
pause: 10s
pause: 10s
sets: 2
work: 5s
pause: 2m
```
title: — optional, first line only.sets: N — repeats the indented block N times; nesting works.name: duration is a step; work and pause are just labels.30, 30s, 2m, 1h.Copy main.js, manifest.json and styles.css into
<vault>/.obsidian/plugins/workout-timer/ and enable the plugin.
node test_parse.js