Custom Timer

by catalyys
5
4
3
2
1
Score: 50/100

Description

Reviews

No reviews yet.

Stats

0
stars
18
downloads
0
forks
7
days
7
days
7
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
6
commits

README file from

Github

Workout Timer

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.
  • Any other name: duration is a step; work and pause are just labels.
  • Durations: 30, 30s, 2m, 1h.

Manual install

Copy main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/workout-timer/ and enable the plugin.

Tests

node test_parse.js