Appearance
@pumpkin-plugins/config API / render / commentLines
commentLines(text, width?): string[]
text
width?
string
Defined in: tools/config/src/render.ts:23
Wraps text into # comment lines.
#
Plain text. Words are never split.
number = COMMENT_WIDTH
number
COMMENT_WIDTH
Longest line to produce, including the # .
string[]
One string per line.
@pumpkin-plugins/config API / render / commentLines
Function: commentLines()
Defined in: tools/config/src/render.ts:23
Wraps text into
#comment lines.Parameters
text
stringPlain text. Words are never split.
width?
number=COMMENT_WIDTHLongest line to produce, including the
#.Returns
string[]One string per line.