mirror of
https://github.com/mudler/luet.git
synced 2025-07-12 06:38:16 +00:00
.. | ||
list.go | ||
README.md | ||
render_html.go | ||
render_markdown.go | ||
render.go | ||
style.go | ||
writer.go |
List
Pretty-print lists with multiple levels/indents into ASCII/Unicode strings.
- Append Items one-by-one or as a group
- Indent/UnIndent as you like
- Support Items with Multiple-lines
- Mirror output to an io.Writer object (like os.StdOut)
- Completely customizable styles
- Many ready-to-use styles: style.go
- Render as:
- (ASCII/Unicode) List
- HTML List (with custom CSS Class)
- Markdown List
■ Game Of Thrones
■ Winter
■ Is
■ Coming
■ This
■ Is
■ Known
■ The Dark Tower
■ The Gunslinger
A demonstration of all the capabilities can be found here: ../cmd/demo-list