Comments (3)
Colorizing code differently from text sounds good. Howdoi could have code be all blue, and text be black. Or it could even syntax highlight the code – either highlighting the code itself using Pygments or somehow copying Stack Overflow’s span tags and converting those to color codes.
I oppose the idea of bolding keyword matches. Usually, what I have searched for is everywhere in the answer, and I don’t have any trouble finding where in the answer my query is discussed. This is what keyword bolding would look like for howdoi calendar rails
(the first query I found whose answer is text and not code):
I have doing some sort of similar project with Rails event calendar. As my knowledge there are no specific GEM or plug-in for your requirement.But you can customize the event calendar. So you need to add that by manually.
The bolding doesn’t help me read the answer; it’s just distracting.
That answer demonstrates another place where color might be useful: links. In the answer above, “Rails event calendar” is a link. The answer text would be more understandable if it were blue in the howdoi output while the surrounding text was black. (Of course, you still wouldn’t be able to click on the link in the command line, but at least you would know that you should follow the answer link for more information, using the -l
flag.)
from howdoi.
Also of note, syntax highlighting! #20
from howdoi.
Going to close this issue in light of #20.
from howdoi.
Related Issues (20)
- Can't print non-ascii text to windows terminal HOT 3
- pickle.UnpicklingError: the STRING opcode argument must be quoted HOT 4
- Add flag to enable paging / choose pager HOT 3
- Is the tracking parameter t=hj in the duckduckgo URL intentional? HOT 7
- Function `_format_url_to_filename` only used in tests HOT 2
- Error in command `howdoi print in python` HOT 3
- Add checks when it comes to something like `range` HOT 2
- Not installable in python3.5 HOT 3
- Change pull request template "Pull request Type" to checklist HOT 2
- Add page cache to .gitignore HOT 1
- fresh install, stuck at 1.1.9 HOT 4
- Fetch Bing- Chat-GPT HOT 2
- Add method to detect symbols like +, /, etc. in the queries HOT 7
- ERROR: Sorry, couldn't find any help with that topic (use --explain to learn why) HOT 8
- GPT Implementation?
- 403 forbiddeb HOT 2
- Questions about Copilot + Open Source Software Hierarchy
- Coloured output not visible in light terminal window
- Add bash / zsh / fish shell completions
- Add extension to Open VSX registry HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from howdoi.