Update module github.com/charmbracelet/glamour to v0.8.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| github.com/charmbracelet/glamour | v0.6.0 -> v0.8.0 |
Release Notes
charmbracelet/glamour (github.com/charmbracelet/glamour)
v0.8.0
Fixing (almost) everything
With a ton of rendering fixes, she's sparkling :sparkles:
It has that new car smell...
So many fixes…one man
@caarlos0 fixed a whopping 15 issues with PR #317 🥇
- Fix URL links not rendering inside bold text #312
- Fix autolink element rendering #290
- Add support for backslash escapes #106
- Fix cases when backslash should not be shown #274
- Fix escape character rendering #311
- Fix newlines in definition lists #239
- Fix nested blockquotes rendering #313
- Fix block quote accidentally combining lines #237
- Fix document-level indent causing unintended wrapping after quoted lines #68
Better tables
Tables now provide stable rendering of elements within the table including alignment, text styles, all that jazz. It now uses the lipgloss table, making it much more consistent across the board.
- Render tables with Lip Gloss #262
- Refactor to replace
TableWriterwith Lip Gloss table #254 - Fix inline code within table #315
- Fix links in tables #316
- Provide consistent alignment of table elements #60
- Support alignment in tables #117
New! Tokyo Night
The markdown renderer’s equivalent of a mani-pedi :nail_care:
Tokyo Night is now a built-in style for Glamour. This means you'll be able to use it in the next release of Glow.
glow -s "tokyo-night"
### OR
export GLAMOUR_STYLE="tokyo-night"
Check out the custom style example to learn how to support custom styles in your own Glamour apps.
- feat: Add Tokyo Night theme by @basilioss in https://github.com/charmbracelet/glamour/pull/229
No TTY?
Glamour will now check if stdout is a tty and will strip styles when it is not.
- Add auto NoTTY style by @wxh06 and @caarlos0 in https://github.com/charmbracelet/glamour/pull/268
Other Stuff
- CI: scan for vulnerabilities and common errors by @caarlos0 in https://github.com/charmbracelet/glamour/pull/310
- Use freeze for gallery images by @bashbunni in https://github.com/charmbracelet/glamour/pull/322
New Contributors
- @bashbunni made their first contribution in https://github.com/charmbracelet/glamour/pull/322
Full Changelog: https://github.com/charmbracelet/glamour/compare/v0.7.0...v0.8.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
This discussion was created from the release v0.8.0.
v0.7.0
Fixes ’n’ Things
Fixed
- Render URLs in table by @brianstrauch in https://github.com/charmbracelet/glamour/pull/248
- Align GitHub flavoured Tables by @maaslalani in https://github.com/charmbracelet/glamour/pull/284
Changes
- feat: use (exported) consts for default styles by @meowgorithm in https://github.com/charmbracelet/glamour/pull/232
- Bump github.com/alecthomas/chroma/v2 from 2.7.0 to 2.8.0 by @dependabot in https://github.com/charmbracelet/glamour/pull/243
New Contributors
- @garymh made their first contribution in https://github.com/charmbracelet/glamour/pull/222
- @Benicas made their first contribution in https://github.com/charmbracelet/glamour/pull/251
- @brianstrauch made their first contribution in https://github.com/charmbracelet/glamour/pull/248
Full Changelog: https://github.com/charmbracelet/glamour/compare/v0.6.0...v0.7.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):
- 11 additional dependencies were updated
Details:
| Package | Change |
|---|---|
golang.org/x/term |
v0.12.0 -> v0.22.0 |
github.com/gorilla/css |
v1.0.0 -> v1.0.1 |
github.com/mattn/go-isatty |
v0.0.16 -> v0.0.20 |
github.com/mattn/go-runewidth |
v0.0.14 -> v0.0.15 |
github.com/microcosm-cc/bluemonday |
v1.0.21 -> v1.0.27 |
github.com/muesli/termenv |
v0.13.0 -> v0.15.3-0.20240618155329-98d742f6907a |
github.com/rivo/uniseg |
v0.2.0 -> v0.4.7 |
github.com/yuin/goldmark |
v1.5.2 -> v1.7.4 |
github.com/yuin/goldmark-emoji |
v1.0.1 -> v1.0.3 |
golang.org/x/net |
v0.8.0 -> v0.27.0 |
golang.org/x/sys |
v0.15.0 -> v0.22.0 |
