417 Commits
Author SHA1 Message Date
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
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
Christian Rocha 5d74978da0 Add example markdown file seen in Glow's example image 2020-01-10 16:50:43 -05:00
Christian Muehlhaeuser fc34f721fb Add release badge to README 2020-01-09 15:56:54 +01:00
Christian Rocha e12999fc42 Use cheekier adjective in README 2020-01-06 16:29:15 -05:00
Christian Muehlhaeuser 6e19bd5b48 Remove now obsolete simple style 2020-01-06 08:31:51 +01:00
Tom Payne fa41f6a15f Add ASCII default style 2020-01-06 08:05:10 +01:00
Tom Payne ef6bdc2ba2 Generate styles with go generate 2020-01-06 07:40:48 +01:00
Tom Payne 76ba5695bd Use default styles instead of statik 2020-01-05 05:45:40 +01:00
Tom Payne bdbe6ae0c5 Generate example styles from default styles 2020-01-05 05:45:40 +01:00
Tom Payne 6b9278b445 Define default styles in Go, not JSON 2020-01-05 05:45:40 +01:00
Christian Muehlhaeuser 40817a7a74 Switch from TravisCI to GitHub Actions (#49) 2019-12-31 13:09:07 +01:00
Christian Muehlhaeuser 03172b8121 Bump goldmark dependency to v1.1.19 2019-12-31 06:17:34 +01:00
Christian Muehlhaeuser 586164338d Add fuzzing tests 2019-12-31 06:06:26 +01:00
Christian Muehlhaeuser 3bd1742b48 Prevent irregular markdown from acccessing nil TableWriter 2019-12-30 07:04:13 +01:00
Christian Muehlhaeuser bf9cf1e06f Don't abort when encountering invalid URLs 2019-12-30 06:52:33 +01:00
Christian Muehlhaeuser 2023fdc9f6 Fix heading example screenshot 2019-12-28 07:51:58 +01:00
Christian Muehlhaeuser 6feb55b98c Fix cascading style attributes from BlockElements 2019-12-28 07:44:29 +01:00
Christian Muehlhaeuser d3bde07b2f Add tests and documentation for strikethrough element 2019-12-28 06:07:17 +01:00
Christian Muehlhaeuser 84795ad72f Fix json tag for strikethrough text 2019-12-28 06:06:21 +01:00
Christian Muehlhaeuser 33bf4bcc82 Add testdata from reported issues 2019-12-28 05:50:15 +01:00