From a0197165aedcf201e39b9f2464872b025efaf1e5 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 21 Dec 2019 04:15:12 +0100 Subject: [PATCH] Re-generate test results --- testdata/block_quote.test | 4 +- testdata/readme.test | 83 +++++++++++++++++---------------------- testdata/table.test | 10 ++--- 3 files changed, 43 insertions(+), 54 deletions(-) diff --git a/testdata/block_quote.test b/testdata/block_quote.test index 99f4242..0f895d3 100644 --- a/testdata/block_quote.test +++ b/testdata/block_quote.test @@ -1,3 +1,3 @@ -First line of quote                                                              -Second line                                                                      +=> First line of quote                                                             +=> Second line                                                                     diff --git a/testdata/readme.test b/testdata/readme.test index 7222587..e89c1db 100644 --- a/testdata/readme.test +++ b/testdata/readme.test @@ -1,48 +1,39 @@ - -  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!                                                                      - +  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!            diff --git a/testdata/table.test b/testdata/table.test index d4ef339..c608b86 100644 --- a/testdata/table.test +++ b/testdata/table.test @@ -1,7 +1,5 @@ - +--------+-------+ - | LABEL | VALUE | - +--------+-------+ - | First | foo | - | Second | bar | - +--------+-------+ + LABEL | VALUE + ---------+-------- + First | foo + Second | bar