Stylesheet-based markdown rendering for your CLI apps 💇🏻♀️
MIT License
Bot releases are hidden (Show)
With a ton of rendering fixes, she's sparkling ✨
It has that new car smell...
@caarlos0 fixed a whopping 15 issues with PR #317 🥇
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.
TableWriter
with Lip Gloss table #254The 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.
Glamour will now check if stdout
is a tty and will strip styles when it is not.
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.
Published by muesli 7 months ago
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.
Published by muesli almost 2 years ago
pink
theme by @maaslalani in https://github.com/charmbracelet/glamour/pull/159
Full Changelog: https://github.com/charmbracelet/glamour/compare/v0.5.0...v0.6.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
Published by muesli over 2 years ago
package main
import (
"fmt"
"github.com/charmbracelet/glamour"
)
func main() {
in := "# Hello World\n\nThis is a simple example of Markdown rendering with Glamour!"
out, _ := glamour.Render(in, "dracula")
fmt.Println(out)
}
Published by muesli almost 3 years ago
goldmark
v1.4.4termenv
v0.9.0reflow
v0.3.0chroma
v0.10.0bluemonday
v1.0.17Published by muesli over 3 years ago
goldmark
v1.3.3termenv
v0.8.1reflow
v0.2.0chroma
v0.8.2bluemonday
v1.0.6Published by muesli about 4 years ago
auto
style automatically determines correct style for current terminal settingsGLAMOUR_STYLE
environment variablegoldmark
v1.2.0termenv
v0.6.0 to detect terminal capabilitieschroma
v0.7.3Published by muesli almost 5 years ago
Write handsome command-line tools with glamour!