Skip to content
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

Color XML tags should allow class attribute #924

Closed
3 tasks done
jcubic opened this issue Apr 13, 2024 · 0 comments
Closed
3 tasks done

Color XML tags should allow class attribute #924

jcubic opened this issue Apr 13, 2024 · 0 comments
Labels

Comments

@jcubic
Copy link
Owner

jcubic commented Apr 13, 2024

I have an idea for a new feature for jQuery Terminal

You can overwrite the colors as tags:

$.terminal.xml_formatter.tags.blue = (attrs) => `[[;#55F;;${attrs.class}]`;

This allows to use class: <white class="command">ls</white>

It would be nice if this was default.

  • implement the feature
  • document overwriting colors + adding class
  • document when feature is released
@jcubic jcubic added the feature label Apr 13, 2024
@jcubic jcubic changed the title color XML tags should allow class attribute Color XML tags should allow class attribute Apr 13, 2024
@jcubic jcubic closed this as completed Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant