Closed kyluca closed 2 months ago
Ah of course, good catch 👍
Updated to reapply default or user styles, as well as a hardcoded yellow for further emphasis (matching Rust client output).
Default style:
Custom style: To show I didn't cheat and use "green" as the reset haha
I noted the builds are failing due to an unrelated error, so have put up a separate PR to fix them first: https://github.com/tldr-pages/tldr-python-client/pull/256
Closes #253
Hoping I've understood the brief correctly :)
This change will check for the presence of backticks (`) and replace them with the ANSI escape characters for italics (and a matching reset to close the pairs).
This appears to match the desired output from the Rust CLI from the issue.
Example output: