Fixing (almost) everything
With a ton of rendering fixes, she's sparkling ✨
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
TableWriter
with 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 💅
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 #229
No TTY?
Glamour will now check if stdout
is a tty and will strip styles when it is not.
Other Stuff
- CI: scan for vulnerabilities and common errors by @caarlos0 in #310
- Use freeze for gallery images by @bashbunni in #322
New Contributors
- @bashbunni made their first contribution in #322
Full Changelog: 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.