chroma icon indicating copy to clipboard operation
chroma copied to clipboard

Add mIRC formatter support

Open hloeung opened this issue 2 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

What problem does this feature solve?

I'm currently using chroma in another project, matterircd. It is a Mattermost & Slack chat to IRC bridge. chroma is used for converting code blocks with syntax highlighting to pretty output.

The current use is using terminal256 by default. This works fine for console based IRC clients with support for terminal colors but it does not for others without support such as WeeChat and non-terminal based IRC clients.

What feature do you propose?

Modern IRC clients support hex colors - https://modern.ircdocs.horse/formatting.html#hex-color

It would be nice if chroma could add another formatter such as mirc, mirc8, mirc16, mirc256 and mirc16m with the generated output using IRC's ASCII 0x04 plus the hex colors.

hloeung avatar Dec 13 '23 01:12 hloeung