is it possible to add <pre> </pre> tags
On SO you can write code using
echo Hello worldtags that format/highlight the code nicely . Is it possible the same with askbot ?
On SO you can write code using
echo Hello worldtags that format/highlight the code nicely . Is it possible the same with askbot ?
It's possible. It's better not to use HTML tags at all, but use the editor buttons to achieve formatting.
For example the "code" button with (1s and 0s) is the code formatter. Select the span or a block of code and click the button. Later you will see how to enter that markup by hand.
I think if we use something like $you code here$ instead of 4 white spaces it will be easier.
To enter a block of code:
Comments
Does SO allow <pre> tags entered by hand?