How do u add codes to a discussion??plz help
I've been searching ways to take a screenshot of my workplace and place it in the discussion but i haven't found an ways to do so .
Steven Parker170,315 Points
Screenshots are not usually very helpful, since it requires complete re-entry for someone to try out the code and analyze the issue. But if you are working with the workspaces, you can use the "snapshot" function (the little camera icon) which will give you a URL you can post to make it easy for someone to replicate your environment.
If you're not using workspaces, the next best thing is to post the code itself (cut and paste) and surround it with Markdown formatting. Instructions can be found in the Markdown Cheatsheet pop-up below the "Add an Answer" area.
Or for more detailed instructions, you can watch this video on code formatting.