Module counter

Module counter 

Source
Expand description

Document counting logic for Typst documents.

This module provides functionality to count words and characters in compiled Typst documents by traversing the document’s element tree and extracting rendered text content.

Structs§

Count
Result of counting words and characters in a document.

Functions§

count_document
Counts words and characters in a compiled Typst document.