Giter Site home page Giter Site logo

Comments (11)

korny avatar korny commented on July 18, 2024

I plan to use Paint in the future to achieve this. In the best case, I want to use the colors defined in the CSS scheme for this, but we could work on an intermediate solution which adds a 256 default style that is suitable for your cases, too.

What do you think about this?

from coderay.

envygeeks avatar envygeeks commented on July 18, 2024

I'd be more than happy to help implement paint (even though I kinda
dislike Janlelis gems because he spams with Post Install which is
rather annoying >.<) but yeah anything that allows the expansion of
colours or even the customistion of simple options for the interim
would do so that we could adjust colours just a tad when working in
certain situations.

from coderay.

korny avatar korny commented on July 18, 2024

In defense of Jan, I know him (we went to the same university) and he's not a spammer ;-) I think he just likes to do things because they are possible.

For me, the current colors work okay, but I also see a lot of room for improvement. However, since you seem to work a lot with CodeRay::Encoders::Terminal, I would be happy to let you choose the colors of the default style :-) Maybe based on your favorite/homegrown VIM highlight config or something.

from coderay.

korny avatar korny commented on July 18, 2024

This feature, together with the multiline-inline-diff branch, would make a great 1.1 release :-) Just thinking.

from coderay.

envygeeks avatar envygeeks commented on July 18, 2024

Well if you want some help implementing this (or even help working on
other things you want to do with Coderay so you can do this yourself)
please do hit me up, I am more than willing to fork and work with you
on these features. Just shoot me a private message and I'll send you
off my gtalk and personal email.

from coderay.

korny avatar korny commented on July 18, 2024

Jordon Bedwell:

Well if you want some help implementing this (or even help working
on other things you want to do with Coderay so you can do this
yourself) please do hit me up, I am more than willing to fork and
work with you on these features. Just shoot me a private message and
I'll send you off my gtalk and personal email.
Wow, thanks man :) I'm in the process of moving to a new flat, so I
won't have time to chat the next days, but I will get back to you.

Never used gtalk before... [email protected] should work :)

  • [murphy]

from coderay.

korny avatar korny commented on July 18, 2024

Hi Jordon! Do you still want to work on this feature? :)

from coderay.

envygeeks avatar envygeeks commented on July 18, 2024

Yes I would love to help with this feature. We were just talking about this in #pry the other day. I'll start working on it today and see what I can come up with and present it to you so we can get a robust implementation.

from coderay.

nathany avatar nathany commented on July 18, 2024

There is a ticket in Redmine that is possibly related to this: Let Terminal encoder use CSS styles

With a link to: terminal256.py in the Pygments repo.

Though I'm not sure that they use CSS styles. Pygments has its own definition of Style.

from coderay.

nathany avatar nathany commented on July 18, 2024

See also, #29.

from coderay.

korny avatar korny commented on July 18, 2024

256-color support could be the star feature of 1.2, but I think it should not delay 1.1 (which focusses on new scanners).

from coderay.

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.