Skip to content

Apply better coloring#43

Merged
psibi merged 2 commits intopsibi:masterfrom
hasufell:better-coloring
Oct 14, 2021
Merged

Apply better coloring#43
psibi merged 2 commits intopsibi:masterfrom
hasufell:better-coloring

Conversation

@hasufell
Copy link
Copy Markdown
Contributor

Specifically, this gets rid of the {{path/to/file}}
pieces in code.

Most tldr clients parse these and apply different color.
Let's match that.


Haskell tldr

Screenshot_2021-10-10_15-50-18

NPM tldr

Screenshot_2021-10-10_15-49-48

Haskell tldr with this patch

Screenshot_2021-10-10_15-50-55


I couldn't find any impact on performance. The parsing is very quick.

@hasufell hasufell force-pushed the better-coloring branch 2 times, most recently from 29d01f0 to 9e1c28c Compare October 10, 2021 18:32
Copy link
Copy Markdown
Owner

@psibi psibi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, some minor comments. Can you also update the Changelog ? Thank you!

Specifically, this gets rid of the {{path/to/file}}
pieces in code.

Most tldr clients parse these and apply different color.
Let's match that.
@hasufell hasufell requested a review from psibi October 13, 2021 08:35
@psibi psibi merged commit 0ac2f70 into psibi:master Oct 14, 2021
@psibi
Copy link
Copy Markdown
Owner

psibi commented Oct 14, 2021

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants