Commit Graph
371 Commits
Author SHA1 Message Date
Christian Muehlhaeuser e8d5c71c0e chore: add dependabot config 2022-10-15 07:01:28 +02:00
Ayman Bagabas 50e7d3bab8 fix(ansi): register chroma styles
termenv changed the order of profiles, now 1 no longer equals ANSI.
2022-10-15 05:21:37 +02:00
Ayman Bagabas dc4e563549 chore: bump termenv 2022-10-15 05:21:37 +02:00
Mark Woods f74666fece Document default word wrap of 80 in readme (#162) 2022-10-11 15:43:25 +02:00
Maas Lalani e70ff2d969 feat: Add pink theme 2022-07-27 20:49:42 +02:00
Ayman Bagabas a99aac8527 fix: register chroma style once
don't register chroma style if it's already registered

this could cause a "concurrent map writes" fatal error when used in a
concurrent setting like a bubbletea wish app. use a package-wide mutex
to protect registering a new style.
2022-07-27 20:34:16 +02:00
Jonathan Lopez 9aceb96bb7 Bump bluemonday to v1.0.19 2022-07-27 19:59:14 +02:00
Christian Muehlhaeuser af8450a903 ci: update lint workflow 2022-07-07 17:30:13 +02:00
Ayman Bagabas 24d1697645 docs: fix type 2022-06-15 17:43:37 -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
Carlos A Becker 1e311cd4e1 test: made each issue a subtest
Allow each test to be a subtest, so users can run things like:

```sh
go test -v ./... -run 'TestRendererIssues/107'
```

In order to run a single issue test, which helps when trying to fix a
new one.

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-07 17:57:27 +01:00
Christian Muehlhaeuser 5dc4fa673f Bump termenv to v0.11.0 2022-02-07 05:03:19 +01:00
Ayman Bagabas 2700b55205 feat: sync glamour with git.charm.sh 2022-01-25 14:37:08 -05:00
Christian Rocha 94148ad4a6 Bake-in Dracula (#137) 2022-01-23 21:02:18 +01:00
Ravi Suhag 39ee7f3f2c Add meteor as user of glamour 2022-01-19 11:38:11 +01:00
Christian Muehlhaeuser 33d660d50e Bump chroma to v0.10.0 2022-01-13 15:39:11 +01:00
Christian Muehlhaeuser b42901dafe Bump goldmark to v1.4.4 2022-01-13 15:33:12 +01:00
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
Christian Rocha 8ad0cc426c Fix a small typo in the artichoke example document 2021-11-22 16:57:59 -05:00
Aurélien Rainone 7def5b5473 Bump bluemonday to v1.0.16 2021-11-15 18:24:40 +01:00
Christian Rocha b0ebe3a647 Update Dracula colors per the Dracula spec 2021-11-12 13:00:00 -05:00
Christian Rocha 76f7a15479 Fix Dracula JSON 2021-11-12 11:44:08 -05:00
TudorAndrei efb29ecdaa Implemented the dracula colorscheme based on
[Dracula theme Specification](https://spec.draculatheme.com/#sec-Markup-Markdown-RST-etc-)
2021-11-12 11:44:08 -05: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
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 Muehlhaeuser 44a6b3913e Fix goreportcard badge 2021-05-18 20:56:53 +02:00
Christian Rocha 5ad5ac4338 Update project description in README 2021-04-09 12:36:16 -04: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 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