numbered

Extension function for TextContentBuilder that adds line numbering to the content.

Return

The TextContentBuilder instance with numbered lines

Parameters

startLineNumber

The starting line number (default is 1)

body

The content builder function