mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-08-30 13:46:44 -04:00
d082cb21242370e0b5b4196b6f5b2319ee0d941e
Since BlackFriday's Nodes are limiting us a bit in rendering flexibility, I've introduced Gold's own ElementStyles (a bit of code repetition here, but alas). Nodes can now be divided into multiple fragments, which means we are able to display the link's URL and text in different styles. Updated the dark theme to demo the newly gained flexibility.
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.
Languages
Go
98.5%
Shell
1.5%