...
1## List
2[](https://pkg.go.dev/github.com/jedib0t/go-pretty/v6/list)
3
4Pretty-print lists with multiple levels/indents into ASCII/Unicode strings.
5
6 - Append Items one-by-one or as a group
7 - Indent/UnIndent as you like
8 - Support Items with Multiple-lines
9 - Mirror output to an io.Writer object (like os.StdOut)
10 - Completely customizable styles
11 - Many ready-to-use styles: [style.go](style.go)
12 - Render as:
13 - (ASCII/Unicode) List
14 - HTML List (with custom CSS Class)
15 - Markdown List
16
17```
18 ■ Game Of Thrones
19 ■ Winter
20 ■ Is
21 ■ Coming
22 ■ This
23 ■ Is
24 ■ Known
25 ■ The Dark Tower
26 ■ The Gunslinger
27```
28
29A demonstration of all the capabilities can be found here:
30[../cmd/demo-list](../cmd/demo-list)
View as plain text