mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-08-29 13:16:39 -04:00
994635af067eb973e9977359a2fbac7f82a105f5
Glamour
Render markdown on the CLI, with pizzazz!
What is it?
A Go library that lets you use JSON-based stylesheets to render Markdown files in the terminal. Just like CSS, you can define color and style attributes on Markdown elements. The difference is that you use ANSI color and terminal codes instead of CSS properties and hex colors.
Available as a library and on the CLI.
Example Output
Check out the Glamour Style Gallery!
Colors
Currently glamour uses the Aurora ANSI colors.
Development
Style definitions located in styles/ can be embedded into the binary with
statik:
statik -f -src styles -include "*.json"
You can re-generate screenshots of all available styles running gallery.sh.
This requires termshot, convert and pngcrush installed on your system!
Languages
Go
98.5%
Shell
1.5%
