Commit Graph
338 Commits
Author SHA1 Message Date
Christian Rocha 7dcb722108 Add Glamour example.md output to readme 2021-03-24 12:06:11 -04:00
Christian Rocha 0355040608 Update hello world example image + small copy updates 2021-03-24 12:06:11 -04:00
Christian Rocha 689f6aec7e Update footer in README for dark backgrounds 2021-03-18 09:58:58 -04: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 610d40a25b Split up workflows and automatically pick latest Go version 2020-10-23 13:19:11 +02:00
Christian Rocha cbcdfb2ba1 Update footer in README 2020-10-20 10:15:13 -04:00
Christian Muehlhaeuser 02db64a120 Bump chroma, bluemonday, reflow, termenv dependencies to latest release 2020-10-20 10:03:04 +02:00
Christian Rocha 9c39c0ec76 Add title and footer treatments to README 2020-10-06 18:06:27 -04:00
Clement Sam 5de0ccbccf docs(readme): add glab to glamorous prokects 2020-09-26 08:58:53 +02:00
bene64 b6138e8593 Add GitHub CLI to "Glamourous Projects" (#75) 2020-09-17 12:41:14 -05:00
Christian Muehlhaeuser 48fcb4b0c9 Fix build workflow 2020-08-30 01:47:07 +02:00
Christian Muehlhaeuser 6c0e29c4da Bump goldmark & termenv dependencies 2020-08-30 01:40:23 +02:00
Christian Muehlhaeuser d7247c5951 Add linter workflow 2020-08-30 01:38:20 +02:00
Christian Muehlhaeuser d5fa904e4a Add golangci config 2020-08-24 15:46:02 +02:00
Christian Rocha 593dda41c5 Bump termenv to v0.7.0 2020-08-20 13:31:54 -04:00
Jesse Millar 1246d13c16 Read default styles before reading from the file system (#73) 2020-07-24 19:46:18 +02:00
Christian Muehlhaeuser 28b4a5ca52 Bump goldmark & termenv dependencies 2020-07-22 22:15:13 +02:00
Christian Muehlhaeuser a605339c8b Fix Go ReportCard badge 2020-05-27 17:09:21 +02:00
Jesse Millar d3564681b9 GLAMOUR_STYLE environment variable support (#69) 2020-05-27 17:07:25 +02:00
Christian Rocha e859bb067c Use margins at the document level (versus indent) in default styles (#67)
* Use margins at the document level (versus indent) in default styles

* Fix tests per the style changes in the previous commit
2020-05-21 17:03:59 +02:00
Christian Muehlhaeuser fe80668412 Bump chroma and termenv deps 2020-05-14 05:41:11 +02:00
Christian Muehlhaeuser 17674398a1 Format README example 2020-05-14 05:40:07 +02:00
Christian Muehlhaeuser ef67a1df88 Fix goreportcard link 2020-05-05 07:51:44 +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 0b1bc73b94 Link to gallery and styles documentation 2020-04-08 10:12:01 +02:00
Christian Muehlhaeuser 9fa06f7731 Document WithAutoStyle option in README 2020-04-08 10:11:44 +02:00
Christian Muehlhaeuser e6a28b4fba Support 'auto' style to make it accessible by the Render(Bytes) helper function 2020-04-08 10:08: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 301d3bcf30 Don't determine auto style on init
The automatic style configuration will now only be determined, when
initialized with the WithAutoStyle renderer option.
2020-03-20 18:39:16 +01:00
Christian Muehlhaeuser af31f7f38e Link to pkg.go.dev instead of godoc.org 2020-03-04 17:41:16 +01:00
Christian Muehlhaeuser a1e15da498 Test against Go 1.14 2020-03-04 17:41:00 +01: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 9474015b79 Don't use chroma for Ascii profiles 2020-02-28 07:17:43 +01:00
Christian Muehlhaeuser 725b8947c6 Update README 2020-02-28 07:16:45 +01:00
Christian Muehlhaeuser 54a8a37b64 Bump reflow dependency to v0.1.0 2020-02-28 07:16:34 +01:00
Christian Muehlhaeuser 8d4e3f0692 Use TrueColor color profile as default
Users can override the desired profile by calling WithColorProfile.
2020-02-10 14:28:08 +01:00
Christian Muehlhaeuser a2997cbe4a Set COLORFGBG env for GitHub workflows 2020-02-10 13:44:01 +01:00
Christian Muehlhaeuser 96e48d9d5b Reuse reflow's writer-pipes 2020-02-10 13:36:02 +01:00
Christian Muehlhaeuser 66b7555d75 Keep termenv profile in RenderContext 2020-01-31 14:47:00 +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 28cbdae8e7 Enforce colored rendering during GitHub workflow 2020-01-14 02:09:31 +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 Rocha 392f5b033b Add unicode characters to example markdown 2020-01-13 12:07:33 -05:00