[Desktop Parity] Add support for ANSI codeblocks on mobile

(#3711) Feature Under consideration mobile

Current problem

ANSI codeblocks are supported on desktop but not on mobile.

Proposed change

Mobile should also support ANSI codeblocks like desktop.

Platform

Android, iOS

Additional information

I was this many days old when I found out Fluxer supports ANSI colors in code blocks.
The sample text above is
```ansi
I was this many days old when I found out ␛[2;1;2m␛[2;1;4;2m␛[38;2;255;0;0mF␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;36;0ml␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;72;0mu␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;109;0mx␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;145;0me␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;182;0mr␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;218;0m ␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;255;0ms␛[2;2m␛[1;2m␛[4;2m␛[38;2;218;255;0mu␛[2;2m␛[1;2m␛[4;2m␛[38;2;182;255;0mp␛[2;2m␛[1;2m␛[4;2m␛[38;2;145;255;0mp␛[2;2m␛[1;2m␛[4;2m␛[38;2;109;255;0mo␛[2;2m␛[1;2m␛[4;2m␛[38;2;72;255;0mr␛[2;2m␛[1;2m␛[4;2m␛[38;2;36;255;0mt␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;255;0ms␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;255;36m ␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;255;72mA␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;255;109mN␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;255;145mS␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;255;182mI␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;255;218m ␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;255;255mc␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;218;255mo␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;182;255ml␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;145;255mo␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;109;255mr␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;72;255ms␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;36;255m ␛[2;2m␛[1;2m␛[4;2m␛[38;2;0;0;255mi␛[2;2m␛[1;2m␛[4;2m␛[38;2;36;0;255mn␛[2;2m␛[1;2m␛[4;2m␛[38;2;72;0;255m ␛[2;2m␛[1;2m␛[4;2m␛[38;2;109;0;255mc␛[2;2m␛[1;2m␛[4;2m␛[38;2;145;0;255mo␛[2;2m␛[1;2m␛[4;2m␛[38;2;182;0;255md␛[2;2m␛[1;2m␛[4;2m␛[38;2;218;0;255me␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;0;255m ␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;0;218mb␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;0;182ml␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;0;145mo␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;0;109mc␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;0;72mk␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;0;36ms␛[2;2m␛[1;2m␛[4;2m␛[38;2;255;0;0m.␛[0m␛[2;2m␛[1;2m␛[4;2m␛[0m␛[2;2m␛[1;2m␛[0m
```removethistext
Make sure to remove the removethistext at the bottom to get this to render properly

Comments

Sign in with Fluxer to comment and vote.

No comments yet.