Commit graph

575 commits

Author SHA1 Message Date
Christian Muehlhaeuser
969b3d5a77
Add .gitignore 2019-12-19 00:45:43 +01:00
Christian Muehlhaeuser
3a99f221ce Keep code-block style consistent 2019-12-16 18:54:20 +01:00
Christian Rocha
1e28b02f47 A few minor edits to the README (#98) 2019-12-16 12:04:55 +01:00
Christian Muehlhaeuser
cbf61974bf Move ANSIRenderer into a separate package 2019-12-14 00:11:29 +01:00
Christian Muehlhaeuser
3ddece16e4 Don't panic, forward the error to the caller 2019-12-13 22:36:55 +01:00
Christian Muehlhaeuser
0058cd2aba Fix GitHub markdown styling weirdness 2019-12-13 20:45:25 +01:00
Christian Muehlhaeuser
1ffe6fe2cc Compacter usage instructions 2019-12-13 20:44:32 +01:00
Christian Muehlhaeuser
95b99c9f72 Lint/fix READMEs 2019-12-13 20:36:25 +01:00
Christian Muehlhaeuser
62eaf39a4f Link to gallery from related Styles paragraph 2019-12-13 03:29:52 +01:00
Christian Muehlhaeuser
73d1d5d061 Document -w flag in README 2019-12-13 03:25:02 +01:00
Christian Muehlhaeuser
68a2909669 Add godoc comments to public types 2019-12-10 17:18:59 +01:00
Christian Muehlhaeuser
584adfdbd1 Fix baseURL for relative paths 2019-12-10 15:55:49 +01:00
Christian Muehlhaeuser
ee81103ce0 Shorten commit SHA in version output 2019-12-09 14:01:47 +01:00
Christian Muehlhaeuser
2bae07eac9 Enable version command for release builds 2019-12-09 13:50:17 +01:00
Christian Muehlhaeuser
c31c06a793 Calculate block width from BlockStack & RenderContext 2019-12-07 19:49:24 +01:00
Christian Muehlhaeuser
58c97dc8db Check for err before trying to access the stat struct 2019-12-07 08:31:15 +01:00
Christian Muehlhaeuser
8c59f7c51d Move gallery and images to styles/gallery/ 2019-12-07 05:08:51 +01:00
Christian Muehlhaeuser
de91f6ae53 Automatically use the notty style when stdout is no terminal
If the user provided a style flag, this still takes precedence.
2019-12-06 19:22:34 +01:00
Christian Muehlhaeuser
95670866e0 When passed a directory as cli-arg, find a README[.md] in it 2019-12-06 18:44:58 +01:00
Christian Muehlhaeuser
37c9cfad80 Return potential error from ioutil.ReadAll 2019-12-06 18:10:51 +01:00
Christian Muehlhaeuser
292f06052f Embed styles in gold library 2019-12-06 01:34:27 +01:00
Christian Muehlhaeuser
27e0e0878a Add prefix & suffix for headings in default dark style 2019-12-06 00:25:03 +01:00
Christian Muehlhaeuser
73b8ffc539 Remove colon from image prefix 2019-12-05 21:07:12 +01:00
Christian Muehlhaeuser
de1e31054e Use 'Camera' unicode symbol U+1F4F7 to prefix images in the default dark style 2019-12-05 20:52:14 +01:00
Christian Muehlhaeuser
7eaf4f2766 Update default dark style to use colors from limited ANSI color range 2019-12-05 20:47:12 +01:00
Christian Muehlhaeuser
c89ab1c3cb Update default dark style 2019-12-05 14:09:04 +01:00
Christian Muehlhaeuser
85ef3db384 Added enumeration style to default dark theme 2019-12-05 10:05:59 +01:00
Christian Muehlhaeuser
353b5eab96 Add margin to heading element in default dark style 2019-12-05 09:45:41 +01:00
Christian Muehlhaeuser
8681be79df Add margin to lists in default dark style 2019-12-04 13:43:18 +01:00
Christian Muehlhaeuser
821aa99320 Add foreground color for text in default theme 2019-12-04 07:27:53 +01:00
Christian Muehlhaeuser
df17759c66 Update default dark theme with margins 2019-12-04 06:59:01 +01:00
Christian Muehlhaeuser
852df5e82a Update dark style with a background color for the document 2019-12-04 06:38:30 +01:00
Christian Muehlhaeuser
57b5100c57 Update dark style defaults 2019-12-04 04:55:26 +01:00
Christian Muehlhaeuser
974be22fa0 Make document indentable 2019-11-30 08:07:40 +01:00
Christian Muehlhaeuser
6d3f74d425 Fix background colors not being applied correctly 2019-11-30 07:04:48 +01:00
Christian Muehlhaeuser
4b009b2b8a Support styled indents for block elements 2019-11-30 06:43:13 +01:00
Christian Muehlhaeuser
2a3ea0ed0b Rename style previews 2019-11-28 09:07:08 +01:00
Christian Muehlhaeuser
f1ee1e5c46 Show style parameter in gallery 2019-11-28 09:04:34 +01:00
Christian Muehlhaeuser
915cd7ae9d Add light style and style gallery 2019-11-28 08:35:24 +01:00
Christian Muehlhaeuser
810cdf1a2b Add gallery generation script 2019-11-28 07:11:17 +01:00
Christian Muehlhaeuser
af92548528 Update screenshot for default style 2019-11-28 07:03:44 +01:00
Christian Muehlhaeuser
bb0385f0b3 Move screenshot to styles/ 2019-11-28 07:03:14 +01:00
Christian Muehlhaeuser
6afd336852 Updates to default dark style 2019-11-28 02:31:19 +01:00
Christian Muehlhaeuser
d6c1b7fa73 Render each paragraph individually and reflow text only inside paragraphs 2019-11-28 02:23:29 +01:00
Christian Muehlhaeuser
5fe7e94483 Move listitem styling to style JSON 2019-11-26 22:42:52 +01:00
Christian Muehlhaeuser
1f5aa27934 Embed default dark style into binary 2019-11-26 21:05:37 +01:00
Christian Muehlhaeuser
532fceed22 Calculate baseURL for local files 2019-11-26 00:35:11 +01:00
Christian Muehlhaeuser
8eabf0f403 Handle relative URLs in markdown, when a BaseURL is provided 2019-11-26 00:35:11 +01:00
Christian Muehlhaeuser
5766f35363 Fix word-wrapping in colored output 2019-11-25 10:04:55 +01:00
Christian Muehlhaeuser
9ffa4d5b16 Basic GitLab support 2019-11-25 06:57:44 +01:00