Edit history

Earlier versions of Add support for ANSI code blocks, newest first.

Current version | Edited by Rex
Changes
````Removed: ### ChecksRemoved: Removed: - ☑ I searched for existing discussions and didn't find a duplicate.Removed:
Show

Add support for ANSI code blocks

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
```
Edited by Rex
Changes
````Removed: ### Notes (optional)Removed: Removed: _No response_Removed: ### Checks
Show

Add support for ANSI code blocks

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
```

Checks

  • ☑ I searched for existing discussions and didn't find a duplicate.
Original by Rex
Show

Add support for ANSI code blocks

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
```

Notes (optional)

No response

Checks

  • ☑ I searched for existing discussions and didn't find a duplicate.