GithubHelp home page GithubHelp logo

colors about howdoi HOT 3 CLOSED

gleitz avatar gleitz commented on June 17, 2024
colors

from howdoi.

Comments (3)

roryokane avatar roryokane commented on June 17, 2024

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.

anthonypt87 avatar anthonypt87 commented on June 17, 2024

Also of note, syntax highlighting! #20

from howdoi.

gleitz avatar gleitz commented on June 17, 2024

Going to close this issue in light of #20.

from howdoi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.