Files
glamour-temp-MUTN/testdata
..
2021-09-06 20:03:30 +02:00
2021-09-06 20:03:30 +02:00
2021-09-06 20:03:30 +02:00
2024-03-13 21:07:19 -07:00
2020-12-06 06:21:10 +01:00
2021-09-06 20:03:30 +02:00
2024-03-13 21:07:19 -07:00
2021-09-06 20:03:30 +02:00
2021-09-06 20:03:30 +02:00
2021-09-06 20:03:30 +02:00
2021-09-06 20:03:30 +02:00
2021-09-06 20:03:30 +02:00
2021-11-29 12:55:18 +01:00
2021-09-06 20:03:30 +02:00
2021-09-06 20:03:30 +02:00
2024-03-06 15:52:11 +01:00
2023-08-22 12:39:50 -07:00
2021-09-06 20:03:30 +02:00

 
Gold

Render markdown on the CLI, with pizzazz!

## What is it?

Gold is a Golang library that allows you to 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.

## Usage

See cmd/gold /cmd/gold/.

## Example Output

Image: Gold Dark Style →
https://github.com/charmbracelet/gold/raw/master/styles/gallery/dark.png

Check out the Gold Style Gallery
https://github.com/charmbracelet/gold/blob/master/styles/gallery/README.md!

## Colors

Currently gold uses the Aurora ANSI colors
https://godoc.org/github.com/logrusorgru/aurora#Index.

## Development

Style definitions located in styles/ can be embedded into the binary by
running statik https://github.com/rakyll/statik:

statik -f -src styles -include "*.json"

You can re-generate screenshots of all available styles by running
gallery.sh . This requires termshot and pngcrush installed on your
system!