This PR aims to improve the formatting of the output so that it works with, more or less, any terminal theme. It should resolve the issues reported in tldr-pages/tldr#388. I’ve tested it with several different themes myself. See the attached screenshots.
It also makes the output be closer to that of the Node.js client, i.e. adding the title to the output and usidn red for the code part. Very similar to the changes in tldr-pages/tldr-node-client#39.
This PR aims to improve the formatting of the output so that it works with, more or less, any terminal theme. It should resolve the issues reported in tldr-pages/tldr#388. I’ve tested it with several different themes myself. See the attached screenshots.
It also makes the output be closer to that of the Node.js client, i.e. adding the title to the output and usidn red for the code part. Very similar to the changes in tldr-pages/tldr-node-client#39.
Before
Tomorrow Night theme
Solarized Light
Light theme (standard in iTerm 2)
After
Tomorrow Night theme
Solarized Light
Light theme (standard in iTerm 2)