Skip to content

Commit

Permalink
docs: autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinJWendt committed Mar 31, 2023
1 parent d5b6b56 commit f62f41f
Show file tree
Hide file tree
Showing 63 changed files with 78 additions and 73 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ import "github.com/pterm/pterm"

func main() {
// Default titled bpx
paddedBox := pterm.DefaultBox.WithLeftPadding(4).WithRightPadding(4).WithTopPadding(2).WithBottomPadding(2)
paddedBox := pterm.DefaultBox.WithLeftPadding(4).WithRightPadding(4).WithTopPadding(1).WithBottomPadding(1)

title := pterm.LightRed("I'm a box!")

Expand All @@ -871,8 +871,9 @@ func main() {
box7 := paddedBox.WithTitle(title).WithTitleTopLeft().Sprint("Hello, World!\n 7")

pterm.DefaultPanel.WithPanels([][]pterm.Panel{
{{box1}, {box2}, {box3}, {box4}},
{{box5}, {box6}, {box7}},
{{box1}, {box2}, {box3}},
{{box4}, {box5}, {box6}},
{{box7}},
}).Render()
}

Expand Down
7 changes: 4 additions & 3 deletions _examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ import "github.com/pterm/pterm"

func main() {
// Default titled bpx
paddedBox := pterm.DefaultBox.WithLeftPadding(4).WithRightPadding(4).WithTopPadding(2).WithBottomPadding(2)
paddedBox := pterm.DefaultBox.WithLeftPadding(4).WithRightPadding(4).WithTopPadding(1).WithBottomPadding(1)

title := pterm.LightRed("I'm a box!")

Expand All @@ -743,8 +743,9 @@ func main() {
box7 := paddedBox.WithTitle(title).WithTitleTopLeft().Sprint("Hello, World!\n 7")

pterm.DefaultPanel.WithPanels([][]pterm.Panel{
{{box1}, {box2}, {box3}, {box4}},
{{box5}, {box6}, {box7}},
{{box1}, {box2}, {box3}},
{{box4}, {box5}, {box6}},
{{box7}},
}).Render()
}

Expand Down
2 changes: 1 addition & 1 deletion _examples/area/center/animation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion _examples/area/default/animation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion _examples/area/demo/animation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion _examples/area/dynamic-chart/animation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f62f41f

Please sign in to comment.