Add support for ANSI code blocks

(#978) Feature Shipped markdown

Problem

Discord supports colored text through ansi in code blocks, which get rendered as follows: image

Proposed solution

I'd like that support for ANSI code blocks gets added to Fluxer as well. For reference, this is the content of the message posted above:
```ansi
␛[0;30mtest␛[0m    ␛[1;30mtest␛[0m
␛[0;31mtest␛[0m    ␛[1;31mtest␛[0m
␛[0;32mtest␛[0m    ␛[1;32mtest␛[0m
␛[0;33mtest␛[0m    ␛[1;33mtest␛[0m
␛[0;34mtest␛[0m    ␛[1;34mtest␛[0m
␛[0;35mtest␛[0m    ␛[1;35mtest␛[0m
␛[0;36mtest␛[0m    ␛[1;36mtest␛[0m
␛[0;37mtest␛[0m    ␛[1;37mtest␛[0m
␛[0;40mtest␛[0m    ␛[1;40mtest␛[0m
␛[0;41mtest␛[0m    ␛[1;41mtest␛[0m
␛[0;42mtest␛[0m    ␛[1;42mtest␛[0m
␛[0;43mtest␛[0m    ␛[1;43mtest␛[0m
␛[0;44mtest␛[0m    ␛[1;44mtest␛[0m
␛[0;45mtest␛[0m    ␛[1;45mtest␛[0m
␛[0;46mtest␛[0m    ␛[1;46mtest␛[0m
␛[0;47mtest␛[0m    ␛[1;47mtest␛[0m
```
  • 552321392-4d03ecf9-3037-462f-a9fe-d33505f83ad6.png

    552321392-4d03ecf9-3037-462f-a9fe-d33505f83ad6.png

    1106×468 | 45 kB

0 comments

Sign in with Fluxer to comment and vote.
Deleted comment
Removed by moderator Rex: Removed a note about the old Canary build that was posted on many GitHub threads. It no longer applies here.