27 Commits
Author SHA1 Message Date
RandyTheSilly f4718e24c8 Replace chroma with go-highlite 2025-06-19 14:18:55 -04:00
bashbunni c271197076 test: add test for custom styles 2024-03-13 21:07:19 -07:00
Maas Lalani 77f8c87aa1 test: test table alignment 2024-03-06 15:52:11 +01:00
Brian Strauch b8953ce4af fix: render urls in table (#248) 2023-08-22 12:39:50 -07:00
Christian Rocha 7528eaad66 feat: use (exported) consts for default styles (#232) 2023-05-19 09:14:05 -04:00
Carlos A Becker d5fb104a74 fix: do not replace comments with empty lines
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-07 17:59:10 +01: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
Christian Rocha 8ad0cc426c Fix a small typo in the artichoke example document 2021-11-22 16:57:59 -05: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
Leonardo e9eb51845e Implement Capitalization (#118) 2021-08-25 15:58:17 +02:00
R. Aidan Campbell 49f2da7fed fix issue where lists that didn't start at 1 were not respected (#116) 2021-08-12 03:45:29 +02:00
Brandon Wilson 8ea7b1c86c Optionally Preserving New Lines (#115) 2021-08-12 03:27:32 +02:00
Christian Rocha 7dcb722108 Add Glamour example.md output to readme 2021-03-24 12:06:11 -04:00
Sam b37f694db4 Add support for :emoji: (#92) 2020-12-06 06:21:10 +01: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 83d2d655c9 Bump termenv dependency to v0.2.0 2020-01-23 19:39:09 +01:00
Christian Rocha 392f5b033b Add unicode characters to example markdown 2020-01-13 12:07:33 -05: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 586164338d Add fuzzing tests 2019-12-31 06:06:26 +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 33bf4bcc82 Add testdata from reported issues 2019-12-28 05:50:15 +01:00
Christian Muehlhaeuser a0197165ae Re-generate test results 2019-12-21 04:15:12 +01:00
Christian Muehlhaeuser 27f86be69a Fix prefixing first paragraph with a newline, when there's no previous sibling node 2019-12-15 05:52:03 +01:00
Christian Muehlhaeuser 63c3acd5f9 Test TermRenderer with testdata/readme.markdown.in 2019-12-15 05:30:45 +01:00
Christian Muehlhaeuser 8a9d1795ff Move expected test results to testdata/ 2019-12-15 05:29:27 +01:00