typst-count 0.1.0

Count words and characters in Typst documents
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Shared definitions and functions

#let highlight(content) = {
  text(fill: blue, content)
}

#let note(content) = {
  block(
    fill: luma(230),
    inset: 8pt,
    radius: 4pt,
    [*Note:* #content]
  )
}

#let author = "Example Author"
#let date = datetime.today()