Christian Rocha
b7e59709dc
Bump bluemonday to v1.0.17
2022-01-11 22:12:32 -05:00
Anthony Fok
6db32e77e1
Bump chroma to v0.9.4
...
chroma v0.9.4 adds "bash-session" (a.k.a. "console") lexer
(from alecthomas/chroma#551 ) which testdata/readme.markdown.in
happens to use, and hence the need to regenerate testdata/readme.test.
2021-11-29 12:55:18 +01:00
Aurélien Rainone
7def5b5473
Bump bluemonday to v1.0.16
2021-11-15 18:24:40 +01:00
Christian Muehlhaeuser
86a99924d7
Bump termenv, chroma, bluemonday, goldmark deps
2021-09-06 20:14:25 +02:00
Anthony Fok
ea285ca64f
Bump reflow to v0.3.0
...
reflow v0.3.0 no longer outputs duplicate `ESC[0m` sequences,
hence the testdata needed to be regenerated.
2021-09-06 20:03:30 +02:00
Christian Muehlhaeuser
b820e413d3
Bump goldmark & bluemonday deps
2021-04-09 11:42:41 +02:00
Christian Muehlhaeuser
abe9cda419
Bump termenv to v0.8.1
2021-04-03 01:44:43 +02:00
Christian Muehlhaeuser
2b8307dcb4
Bump chroma, tablewriter, and termenv dependencies
2021-03-11 16:24:07 +01:00
Tom Payne
4292a2106d
Update for latest release of yuin/goldmark
...
https://github.com/yuin/goldmark/commit/9e0189df270cb443c204b51e89e2b0749b98370c
broke backwards compatibility by renaming exported structs without a
bump of the module's major version.
This commit updates glamour to use goldmark's new API.
2020-12-27 15:05:46 +01:00
Sam
b37f694db4
Add support for :emoji: ( #92 )
2020-12-06 06:21:10 +01:00
Christian Muehlhaeuser
02db64a120
Bump chroma, bluemonday, reflow, termenv dependencies to latest release
2020-10-20 10:03:04 +02:00
Christian Muehlhaeuser
6c0e29c4da
Bump goldmark & termenv dependencies
2020-08-30 01:40:23 +02:00
Christian Rocha
593dda41c5
Bump termenv to v0.7.0
2020-08-20 13:31:54 -04:00
Christian Muehlhaeuser
28b4a5ca52
Bump goldmark & termenv dependencies
2020-07-22 22:15:13 +02:00
Christian Muehlhaeuser
fe80668412
Bump chroma and termenv deps
2020-05-14 05:41:11 +02:00
Christian Muehlhaeuser
76620b8eef
Bump goldmark dependency to v1.1.30
2020-04-29 02:23:10 +02:00
Christian Muehlhaeuser
2b6ee7b188
Bump termenv dependency to v0.5.1
2020-04-29 02:22:03 +02:00
Christian Muehlhaeuser
ba2d2a0ec5
Bump goldmark dependency to v1.1.26
2020-03-31 06:50:07 +02:00
Christian Muehlhaeuser
70c1afdb98
Bump termenv dependency to v0.5.0
2020-03-31 06:49:25 +02:00
Christian Muehlhaeuser
7e5c90143a
Bump chroma dependency to v0.7.2-master
2020-03-04 14:42:24 +01:00
Christian Muehlhaeuser
12cd5dabcb
Bump goldmark dependency to v1.1.24
2020-03-01 11:29:28 +01:00
Christian Muehlhaeuser
54a8a37b64
Bump reflow dependency to v0.1.0
2020-02-28 07:16:34 +01:00
Christian Muehlhaeuser
96e48d9d5b
Reuse reflow's writer-pipes
2020-02-10 13:36:02 +01:00
Christian Muehlhaeuser
7467d9e1a5
Bump termenv dependency to v0.4.0
2020-01-31 13:06:49 +01:00
Christian Muehlhaeuser
b8b84c42da
Bump goldmark dependency
2020-01-27 08:23:43 +01:00
Christian Muehlhaeuser
83d2d655c9
Bump termenv dependency to v0.2.0
2020-01-23 19:39:09 +01:00
Christian Muehlhaeuser
ac879be81a
Added 'auto' style config
...
AutoStyleConfig points to either DarkStyleConfig or LightStyleConfig
depending on the current terminal's background color.
2020-01-14 02:01:22 +01:00
Christian Muehlhaeuser
47d1299f6d
Bump termenv dependency
2020-01-13 05:08:19 +01:00
Christian Muehlhaeuser
743ecf40c5
Switch ANSI rendering to termenv to automatically convert colors between color-profiles
2020-01-13 04:40:43 +01:00
Tom Payne
76ba5695bd
Use default styles instead of statik
2020-01-05 05:45:40 +01:00
Christian Muehlhaeuser
03172b8121
Bump goldmark dependency to v1.1.19
2019-12-31 06:17:34 +01:00
Christian Muehlhaeuser
aa971ebf03
Update Go module definitions and imports
2019-12-19 00:55:00 +01:00
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