How to make a quick todo list of 100 items

I have a book of 100 chapters and I want after reading a chapter and doing an exercise on it to put a check mark which chapter I have worked through. It is tedious to enter 100 lines, is it possible to automate this in a loop or something else?

Templater plugin enables you to execute JavaScript inside your notes/templates.

Any use? Copy and paste and match style / paste as plain text.

- [ ] Chapter	1
- [ ] Chapter	2
- [ ] Chapter	3
- [ ] Chapter	4
- [ ] Chapter	5
- [ ] Chapter	6
- [ ] Chapter	7
- [ ] Chapter	8
- [ ] Chapter	9
- [ ] Chapter	10
- [ ] Chapter	11
- [ ] Chapter	12
- [ ] Chapter	13
- [ ] Chapter	14
- [ ] Chapter	15
- [ ] Chapter	16
- [ ] Chapter	17
- [ ] Chapter	18
- [ ] Chapter	19
- [ ] Chapter	20
- [ ] Chapter	21
- [ ] Chapter	22
- [ ] Chapter	23
- [ ] Chapter	24
- [ ] Chapter	25
- [ ] Chapter	26
- [ ] Chapter	27
- [ ] Chapter	28
- [ ] Chapter	29
- [ ] Chapter	30
- [ ] Chapter	31
- [ ] Chapter	32
- [ ] Chapter	33
- [ ] Chapter	34
- [ ] Chapter	35
- [ ] Chapter	36
- [ ] Chapter	37
- [ ] Chapter	38
- [ ] Chapter	39
- [ ] Chapter	40
- [ ] Chapter	41
- [ ] Chapter	42
- [ ] Chapter	43
- [ ] Chapter	44
- [ ] Chapter	45
- [ ] Chapter	46
- [ ] Chapter	47
- [ ] Chapter	48
- [ ] Chapter	49
- [ ] Chapter	50
- [ ] Chapter	51
- [ ] Chapter	52
- [ ] Chapter	53
- [ ] Chapter	54
- [ ] Chapter	55
- [ ] Chapter	56
- [ ] Chapter	57
- [ ] Chapter	58
- [ ] Chapter	59
- [ ] Chapter	60
- [ ] Chapter	61
- [ ] Chapter	62
- [ ] Chapter	63
- [ ] Chapter	64
- [ ] Chapter	65
- [ ] Chapter	66
- [ ] Chapter	67
- [ ] Chapter	68
- [ ] Chapter	69
- [ ] Chapter	70
- [ ] Chapter	71
- [ ] Chapter	72
- [ ] Chapter	73
- [ ] Chapter	74
- [ ] Chapter	75
- [ ] Chapter	76
- [ ] Chapter	77
- [ ] Chapter	78
- [ ] Chapter	79
- [ ] Chapter	80
- [ ] Chapter	81
- [ ] Chapter	82
- [ ] Chapter	83
- [ ] Chapter	84
- [ ] Chapter	85
- [ ] Chapter	86
- [ ] Chapter	87
- [ ] Chapter	88
- [ ] Chapter	89
- [ ] Chapter	90
- [ ] Chapter	91
- [ ] Chapter	92
- [ ] Chapter	93
- [ ] Chapter	94
- [ ] Chapter	95
- [ ] Chapter	96
- [ ] Chapter	97
- [ ] Chapter	98
- [ ] Chapter	99
- [ ] Chapter	100
2 Likes

I did this
a template for the Templater plugin that calls my script.
<% tp.user.my_script(“Hello World!”) %>

and my script

function my_function (msg) {
	
   var msg=""
    for (let i = 1; i < 116; i++) { // выведет 0, затем 1, затем 2
        msg=msg+" - [ ] Unit"+i+" errors 0 ➕ 2023-07-30 \n"

      }
      
    

    return `${msg}`;
}
module.exports = my_function;

But I think its not very useful maybe there are other ways to do it.