Commit Graph
19 Commits
Author SHA1 Message Date
Christian Muehlhaeuser 850c3affd3 Use upstream indent & padding writers from reflow 2019-12-15 03:42:40 +01:00
Christian Muehlhaeuser b0857fb690 Follow upstream reflow API changes 2019-12-15 03:30:23 +01:00
Christian Muehlhaeuser 6f20136abc Clean up Go module dependencies 2019-12-13 03:00:45 +01:00
Christian Muehlhaeuser 07f52dd42a Switch to goldmark parser 2019-12-13 03:00:45 +01:00
Christian Muehlhaeuser 08ffc82515 Reflow text in paragraph, strip line-breaks and utilize the available width 2019-12-05 22:03:35 +01:00
Christian Muehlhaeuser 39a6da5fe7 Support hex color values in style config
While we don't support extended color ranges just yet, this approximates
the hex value to the closest color value in the ANSI 256-color chart.
2019-12-05 11:43:56 +01:00
Christian Muehlhaeuser 31ad9136b5 Correctly word-wrap and pad unicode characters 2019-12-05 10:37:31 +01:00
Christian Muehlhaeuser f70d879a63 Bump reflow dependency 2019-11-28 06:12:36 +01:00
Christian Muehlhaeuser 59b8ecde6d Render each paragraph individually and reflow text only inside paragraphs 2019-11-28 02:23:29 +01:00
Christian Muehlhaeuser 425d236a44 Embed default dark style into binary 2019-11-26 21:05:37 +01:00
Christian Muehlhaeuser 9eee4b13c3 Table rendering (#40)
Renders markdown tables.
2019-11-26 04:21:22 +01:00
Christian Muehlhaeuser c2af06bed0 Fix word-wrapping in colored output 2019-11-25 10:04:55 +01:00
Christian Muehlhaeuser fb7c07f593 Strip HTML tags and render plain-text content only 2019-11-25 06:45:55 +01:00
Christian Muehlhaeuser 4c529d72b9 Word-wrap text at 100 chars per default
The default can be overwritten by the user:

./gold -w 80
2019-11-25 06:44:10 +01:00
Christian Muehlhaeuser e6a9122041 Enable code highlighting with chroma 2019-11-25 05:47:14 +01:00
Christian Muehlhaeuser 450c551f08 Use a plain-text renderer when not printing to Terminal 2019-11-25 04:32:24 +01:00
Christian Muehlhaeuser 9b17f91d28 Use cobra to handle command line parameters 2019-11-22 18:47:42 +01:00
Toby Padilla 835820cc49 Update repo org 2019-11-15 12:02:39 -06:00
Toby Padilla 86bed674ac init 2019-11-04 17:35:50 -06:00