Commit Graph
302 Commits
Author SHA1 Message Date
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
Christian Muehlhaeuser 1d45bba66d Fix typo in README example 2019-12-28 05:31:43 +01:00
Christian Muehlhaeuser 52f841271d Don't sanitize text elements 2019-12-28 05:13:38 +01:00
Christian Muehlhaeuser de9bf211ba Drop newline after RawHTML elements 2019-12-28 04:55:53 +01:00
Christian Muehlhaeuser 701031c609 Drop obsolete import statement in README example 2019-12-28 03:02:33 +01:00
Tom Payne 339b3e9df8 Switch to functional options 2019-12-28 02:55:20 +01:00
Christian Muehlhaeuser 7349948f7f Fix blockquote rendering 2019-12-28 01:50:18 +01:00
Christian Muehlhaeuser 8405e35ac8 Use textFromChildren to parse the aggregate content of Link nodes 2019-12-28 01:32:59 +01:00
Christian Muehlhaeuser 4c42a50164 Don't treat fragments as valid URLs 2019-12-28 00:57:24 +01:00
Christian Muehlhaeuser 5a1a0f6457 Traverse through parents to detect ignored AST children 2019-12-28 00:38:11 +01:00
Christian Rocha 3dc3fd4ecc Edit superlative in README 2019-12-27 08:43:29 -08:00
Christian Muehlhaeuser aebdb7f587 Add test for TermRenderer.Render 2019-12-25 07:54:25 +01:00
Christian Muehlhaeuser 577aa7c03b Add tests for render helpers 2019-12-25 07:44:55 +01:00
Christian Muehlhaeuser d06339de6f Added coveralls badge to README 2019-12-25 07:35:54 +01:00
Christian Muehlhaeuser 81fe46f9a4 Fix typo in README 2019-12-25 05:55:04 +01:00
Christian Muehlhaeuser 4d9e90bd78 Simplify examples 2019-12-25 05:54:26 +01:00