mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 09:25:56 +03:00
[GH-ISSUE #51] Include useful font-highlighting similar to circumflex #14
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jtrv on GitHub (Dec 13, 2021).
Original GitHub issue: https://github.com/aome510/hackernews-TUI/issues/51
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 HNandLaunch HNComments:
code snippets@aome510 commented on GitHub (Dec 13, 2021):
Hi @JacobTravers. Thank you for the ideas. Definitely will try those.
Also circumflex looks really great. Thanks again for the great reference 😄
@bensadeh commented on GitHub (Dec 14, 2021):
Thanks for the mention, @JacobTravers & @aome510 😊,
The highlighting in
clxis a mix between simple search + replace of certain keywords, as well as some regular expressions for more complicated patterns. I have gathered most of them here, maybe it can help you for inspiration/implementation of similar features.(By the way,
hackernews-TUIis really impressive, glad to see more people interested in the niche of HN readers in the Terminal!)@aome510 commented on GitHub (Dec 17, 2021):
@JacobTravers FYI, I have implemented most of the font highlight functionalities for
StoryViewandCommentViewalong with a better looking UI.You can check them out with the latest version of the
mainbranch. Any feedbacks are highly appreciated!There are still a few big things I want to do before releasing new versions (documentation, highlight for
ArticleView, etc).Also, I decided not to implement highlighting for user mention and reference numbers as they are quite subject to false positives.