feat: Adds more documentation and examples.
All checks were successful
CI / Run tests. (push) Successful in 52s
All checks were successful
CI / Run tests. (push) Successful in 52s
This commit is contained in:
@@ -21,10 +21,11 @@ struct SectionCommand: ParsableCommand {
|
||||
|
||||
struct MySectionStyle: SectionStyle {
|
||||
func render(content: SectionConfiguration) -> some TextNode {
|
||||
VStack(separator: .newLine(count: 2)) {
|
||||
VStack {
|
||||
content.header.color(.green).bold().underline()
|
||||
content.content
|
||||
content.footer.italic()
|
||||
}
|
||||
.separator(.newLine(count: 2))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user