Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting lost when copying from code panel #314

Open
ToonTalk opened this issue Aug 19, 2015 · 2 comments
Open

Formatting lost when copying from code panel #314

ToonTalk opened this issue Aug 19, 2015 · 2 comments

Comments

@ToonTalk
Copy link

In general when I copy part of a web page to Word or a Google Doc the rich text is preserved by default. However, when I copy some NetLogo code in the code panel I always get plain text when pasted. It would be nice to capture the code formatting and colouring without resorting to images.

If I select and copy the entire page then formatting is preserved.

@ToonTalk
Copy link
Author

If it wasn't clear the motivation for this is to copy NetLogo code into papers and documentation with nice colours and formatting.

@SethTisue
Copy link
Contributor

perhaps ironically, our current suggested workaround for this is to save the page as an applet (from desktop NetLogo), then copy and paste from that; see also NetLogo/NetLogo#645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants