New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include useful font-highlighting similar to circumflex #51
Comments
Hi @JacobTravers. Thank you for the ideas. Definitely will try those. Also circumflex looks really great. Thanks again for the great reference 😄 |
Thanks for the mention, @JacobTravers & @aome510 😊, The highlighting in (By the way, |
Part 1 of #51. ## Brief description of changes - rewrite the parser function for parsing HN comment (as HTML text) - add font highlighting for `CommentView` that adds highlight/color to + italic + quote paragraph + single code block surrounded by `` + multi-line code block - add font highlighting for `StoryView` that adds highlight/color to story's categories (`Show HN`, `Ask HN`, etc) and implement a parser for parsing story title - make link ID in comment text starts from `1` and change the corresponding `open_link_*` commands in `CommentView` - add more component styles
@JacobTravers FYI, I have implemented most of the font highlight functionalities for You can check them out with the latest version of the Also, I decided not to implement highlighting for user mention and reference numbers as they are quite subject to false positives. |
This app is great however the one place I feel like it could be a bit better is highlighting. If hn-tui had highlighting to help with human-parsing and making things a little easier on the eyes, or making certain pieces of information more easily apparent or navigable, it would be perfect! This is a feature request for additional highlighting and labeling in the ways that circumflex provides it.
to list out all the different text-highlighting:
Categories:
Ask HN
,Tell HN
,Show HN
andLaunch HN
Comments:
code snippets
The text was updated successfully, but these errors were encountered: