Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Discord code blocks: Export to is Ok Import from KO
#2
No, unfortunatly that is not possible.

See it the opposite way, if one publishes an ANSI code block for others to test, then of course the ANSI sequences must be part of the code block copy to reproduce the exact behavior. Not taking the sequences would be similar to stripping all COLOR commands from a BASIC program.

Unfortunately Discord doesn't have a native QB codeblock, we just use the ANSI codeblock to fake some (not all) of our highlighting. But when you copy it back it is per se not a BASIC program, as it was designated as ANSI in Discord.

In fact manually selecting the code and copy it is the only way to get it without the ANSI sequences, there's nothing we can do except from making a native QB code block plugin for Discord, and that's at least far beyond me, but if someone else is able to do that, then I'm happy to change the code export feature to use that one.
Reply


Messages In This Thread
RE: Discord code blocks: Export to is Ok Import from KO - by RhoSigma - 02-21-2026, 11:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  VS Code and Qb64 pe Unseen Machine 6 721 09-03-2025, 09:42 PM
Last Post: grymmjack
  has anyone had ChatGPT write QB64 code yet? madscijr 13 2,943 08-23-2025, 09:15 AM
Last Post: doppler
  liquid code experiment madscijr 3 491 06-20-2025, 07:26 PM
Last Post: madscijr
  My discord account AtomicSlaughter 2 837 01-31-2025, 06:07 PM
Last Post: SMcNeill
  [split] Lines of Code bplus 20 3,013 01-25-2025, 05:11 PM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)