It's all about the answers!

Ask a question

How can I upload a script (e.g. perl or JavaScript) on forum to share with others?

Guido Schneider (3.4k1486115) | asked Jan 25 '13, 11:36 a.m.

Sometime I like to share some code snippets or scripts with others or as an answer in a forum question.

Pasting it into the HTML editor is bad, because special characters maybe rendered and the code is not working anymore.

How can I do this?

(Of course I can create a workitem with an attachment and link this in the forum post, but I'm not sure if this is the idea)

One answer

permanent link
Spencer Griffin (41126) | answered Jan 25 '13, 12:33 p.m.
In the editor, you can change the format from None to Pre-formatted and enter your code. You can also store the code elsewhere and link to it.

Currently, images are the only type of file that can be uploaded in the forum.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.