Hi
when posting here it will be very helpfull if u have a button that will add tags like
[code lang="cs"]
i m always forgoting the right syntax and that leeds to a post that is not easy readable
"Format code block" button
Answers
We apologize for not updating this ticket in time. We have introduced a new editor in Support Center 2.0 that accepts formatted code snippets when posting Questions or Answers. Once you have clicked the Insert code button on its toolbar:
a Code snippet dialog is displayed that allows you to choose language from a list and insert your code snippet:
We have not yet decided when to release this feature. Meanwhile, you can use some our Support Team "internal" tags:
- a block of C# code
- a block of VB.NET code
- a block of PAS code
- a block of C++Builder code
- a block of JavaScript code
- a block of CSS code
- a link to a Support Center report (bug, question or suggestion)
- a link to a Knowledge Base article
- a link to a Code Central example
I hope you will find this information helpful.
I see that the parser translated all my tags to what they should be translated … to the corresponding code blocks :) That is why you do not see them. To give a complete picture, I have attached a text document with the required information, including tags for text formatting.
See Also:
Add a "Format" toolbar like that in the forums to the Support Center