Ask coding questions

← Back to all posts
Not possible to paste highlighted code from / Pay membership with paypal
sebassilvap (0)

Dear Community,
Just one month ago, one of the best features of is now gone.
Before it was possible to copy and paste the highlighted and formatted code from to for example Word or Powerpoint.
Now it is not possible to do it. The code is just text with the same color.
Is it possible to have this feature back?
Additionally in the past at the moment of pasting, the indentations dissapeared. Can this be also corrected?
Some people like me prepare some courses or presentations using this wonderful tool, and it would be nice if you let us use this feature I described.

Additionally, I would like please to request the people from to abilitate the possibility to pay the membership with paypal.
I wanted to buy my membership a long time ago, but for this online suscriptions me and others I think prefer the paypal option.

Thank you for your help,
Best regards,

SixBeeps (5346)

Hey there Sebastián,
Although there was no coloration of the tokens, I was able to paste the formatted code into Word just fine

Furthermore, it looks like my indentation also persisted (though for some reason, my tabbed code turned into spaces).
As for the PayPal thing, I'd highly suggest posting a ticket into the Feedback system if you haven't already. To be honest, I'd also like to see this feature as a PayPal user myself.

sebassilvap (0)

@SixBeeps Hi man, thanks for the Reply.
Yes I already posted that on the Feedback section as well.
Yes and that is exactly what happens now, in the past the Tokens were colored, exactly as you wrote them on
That was really amazing and very helpful for People like me who want to create some Content for Courses and this stuff.
But well hopefully that can be solved.
Thanks once again for your Response!

Coder100 (18917)

Hello, recently they have changed the syntax highlighting of the editor, and I think that is where the problem lies.

All the tokens are the same. Now this is what probably is causing the problem, but there's one more thing:

This glitch happens because they are doing dynamic highlighting. Before all the syntax highlighting was manually written:

<span class="keyword">function</span> <span class="identifier">hi</span>

but now it is dynamic highlighting, so it becomes:

<div class="magic">
function hi
sebassilvap (0)

@Coder100 Wonderful explanation! Thanks a lot!

ironblockhd (427)

Replit didn't make the editor, they use vscode editor. They switched the editor a while ago so it could be related to that. You can try to use this tool:

sebassilvap (0)

@ironblockhd thank you! That is a nice solution! But hopefully we can have the option to do it on once again without third parties. Thanks once again!

ironblockhd (427)

@sebassilvap i made a small script that makes it possible to copy it once again:


simply go to the desired repl, run the script in your dev console and you will be able to copy it once again! :)

sebassilvap (0)

@ironblockhd Thanks a lot! Wonderful answer!

CMMT20 (0)

@ironblockhd That works fine!! Thanks for sharing!