add comments

This commit is contained in:
OMOTO Tsukasa 2023-09-10 15:17:16 +09:00
parent 6cbcfebb71
commit 2367b9ff46

View file

@ -112,6 +112,7 @@ type withEastAsianLineBreaks struct {
worksEvenWithOneSide bool worksEvenWithOneSide bool
} }
// A EastAsianLineBreaksOption sets options for east asian line breaks.
type EastAsianLineBreaksOption func(*withEastAsianLineBreaks) type EastAsianLineBreaksOption func(*withEastAsianLineBreaks)
func (o *withEastAsianLineBreaks) SetConfig(c *renderer.Config) { func (o *withEastAsianLineBreaks) SetConfig(c *renderer.Config) {