You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more
A long shot, but:
I'm writing an educational document that has code in it, that students will have to copy code snippets from and paste into Visual Studio Code (text editor for coding). I've formatted the code as a monospaced paragraph style and with single line spacing.
Problem is that when I copy from MS Word Online it pastes into VS Code with double spacing which is a ball-ache. If I print to PDF, it gets pasted without any formatting. I can copy out of actual MS word on my own laptop but the students will be working on a VM, which can't have MS Word on it.
Anyone had this issue copying out of MS Word Online?
The online version of word is a very odd beast and can’t display lots of stuff correctly
I don’t know the answer I’d try a few things. They may not work at all but I’d try them
Open the document in google docs and see if that is better. Can the students access google docs?
Save the the document as rtf (rich text format ) from word and then upload to one drive. See if that opens in online word and see if it behaves differently
Does the destination have a paste options like excel. For example “use source formatting”, “paste as text only” that might solve it
Dues saving as a web page or converting to a web page solve the problem
I tried WordPad, doesn't format the rest of the doc properly.
Thanks but I've given up. I've got to rethink the whole approach.
Do it in Notepad and embed the files?
Thanks but I’ve given up. I’ve got to rethink the whole approach.
Good idea. With 'modern' IT you often spend.more time fighting the system.than actually solving the problem you are using it for 🙁
Have you tried downloading Notepad++
<p style="text-align: left;">Then creating your code in notepad++ then copy and paste into word right click when pasting to see if there is a text only paste option.</p>
I used PS a lot for work and fallen foul of this when copying code from a colleagues word document as word had knacked (technical term ;)) the formatting.
I’ve got to rethink the whole approach.
Is the right answer.