Commit graph

268 commits

Author SHA1 Message Date
Toby Padilla
9adff17b70 Move Render and RenderBytes to TermRenderer 2019-11-24 13:35:01 -06:00
Christian Muehlhaeuser
18f3a85900 Add screenshot of dark theme 2019-11-24 05:21:12 +01:00
Christian Muehlhaeuser
14bc95c272 Find README(.md) in current working dir when no arg was supplied 2019-11-24 05:07:14 +01:00
Christian Muehlhaeuser
5c3ad999ea Cleanup/simplify main.go 2019-11-24 02:41:03 +01:00
Christian Muehlhaeuser
47ac9b7afc Add goreleaser config to help automate builds for various platforms
We're currently building the following targets:
- Linux 386/x64/armv6/arm64
- Windows 386/x64
- macOS x64
2019-11-24 02:39:02 +01:00
Christian Muehlhaeuser
08dd80a922 Support fetching markdown from arbitrary HTTP sources 2019-11-24 02:04:12 +01:00
Christian Muehlhaeuser
08b62ec55e Update gold usage in README 2019-11-22 18:48:22 +01:00
Christian Muehlhaeuser
16048357a0 Use cobra to handle command line parameters 2019-11-22 18:47:42 +01:00
Christian Muehlhaeuser
b58f777e91 Support reading from stdin
When you start gold with "-" as an argument it will read directly
from stdin, instead of opening a file.

Example calls:

./gold -s dark.json README.md

or

cat README.md | ./gold -s dark.json
2019-11-22 04:23:02 +01:00
Christian Muehlhaeuser
bbd2e15001 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
Toby Padilla
c7686d7131 Update repo org 2019-11-15 12:35:04 -06:00
Toby Padilla
2446b97342 README and LICENSE 2019-11-15 12:27:41 -06:00
Toby Padilla
5d9883623d Remove blackfriday requirement from clients 2019-11-12 16:36:51 -05:00
Toby Padilla
5daf00f920 Fix child element rendering 2019-11-12 15:53:11 -05:00
Toby Padilla
439ee25c7e Remove test md 2019-11-09 16:24:57 -06:00
Toby Padilla
09bb6b3dd1 Much better parsing, README example 2019-11-09 16:12:54 -06:00
Toby Padilla
dda88169f4 Load style from json 2019-11-09 14:07:01 -06:00
Toby Padilla
9da65bd2da init 2019-11-04 17:35:50 -06:00