+ 5
Does anyone know a way you can take what you've coded on here and save as an htm file on your computer or bring it to a notepad?
Everytime I try to copy and past it to windows notepad it paste very weird. All the code is in one line instead of making multiple lines like it is in the playground. I'm very confused on a way to save it on my computer as an html file. Can anyone help?
7 Antworten
+ 7
The newlines are actually there when you copied them, it's just not showing in notepad because notepad recognizes "\r\n" as a link break and not "\n". The simple "solution" to this would be to copy it into Wordpad, or a different IDE.
+ 3
I guess you're in a smartphone. I you log with your computer you can just copy and paste your code. In fact, i'm writing this answer on a computer.
+ 3
You could try to copy it then send it to the computer via message or mail, then copy it from the message/ email and paste it to the desired file.
+ 2
Actually going to https://sololearn.com on your computer you can access your codes and copy the text inside directly to your computer's clipboard
+ 2
Copy and paste on a text file and then send the text file to your computer
+ 2
For one nice text editor you can install Sublime Text 3, it recognizes both \r\n and \n as a line break, essentially fixing your problem. It also has a nice UI and is very extensible.