ircv3 / ircv3-ideas

46 stars 3 forks source link

+code=lang #110

Open awfulcooking opened 10 months ago

awfulcooking commented 10 months ago
@+code=js PRIVMSG #chan :  let there = "be";
@+code=js PRIVMSG #chan :  code = on(irc);
@+code=perl BATCH +1 draft/multiline alex
@batch=1 PRIVMSG alex :  my $oh_my;
@batch=1 PRIVMSG alex :  gosh("it's highlighted code on IRC");
BATCH -1

It's possible to highlight code nicely using mIRC colors, but hard or impossible to make the result readable across color schemes (e.g. light, dark, what have you).