feat: Adds stack separators, removes some unused nodes from cli-doc module
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:
@@ -147,7 +147,7 @@ public struct DefaultExampleStyle: ExampleStyle {
|
||||
|
||||
@inlinable
|
||||
public func render(content: ExampleConfiguration) -> some TextNode {
|
||||
VStack(separator: .newLine(count: 2)) {
|
||||
VStack {
|
||||
content.examples.map { example in
|
||||
VStack {
|
||||
example.label.color(.green).bold()
|
||||
@@ -155,5 +155,6 @@ public struct DefaultExampleStyle: ExampleStyle {
|
||||
}
|
||||
}
|
||||
}
|
||||
.separator(.newLine(count: 2))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user