Render markdown on the CLI with style
Find a file
Christian Muehlhaeuser 55eb9ee65a
Support fetching READMEs from GitHub
When passing a valid GitHub URL instead of a filename to gold,
it will fetch either README.md or README (in that order) from
GitHub and displays the markdown content.

Example:

./gold -s dark.json https://github.com/muesli/beehive
2019-11-22 03:52:21 +01:00
cmd/gold Support fetching READMEs from GitHub 2019-11-22 03:52:21 +01:00
.gitignore init 2019-11-04 17:35:50 -06:00
go.mod Update repo org 2019-11-15 12:02:39 -06:00
go.sum init 2019-11-04 17:35:50 -06:00
gold.go Remove redundant else 2019-11-15 12:01:12 -06:00
LICENSE README and LICENSE 2019-11-15 12:27:41 -06:00
README.md Link to main.go 2019-11-15 12:28:33 -06: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.

Colors

Currently gold uses the Aurora ANSI colors.