Go Down

Topic: How to put [code] or [/code] literally in a forum post? (Read 311 times) previous topic - next topic

GypsumFantastic

Imagine (if you can) I wanted to explain code tags to someone on this forum.

I might want to say something like, "Type [ code ] then paste in your sketch, then type [ /code ] at the end"

Here I've used extra spaces to break up the tags and prevent the forum software from interpreting them. It works, kinda, but doesn't look quite right, and I think there's a risk that the inexperienced might parrot the extra spaces which would defeat the object.

So, how would I go about having the tags display in a forum post, but adding spaces? Is there a 'standard' way to go about it?

Delta_G

nobbc tags

[nobbc][code][/code][/nobbc]

Quote me to see all of it. 
|| | ||| | || | ||  ~Woodstock

Please do not PM with technical questions or comments.  Keep Arduino stuff out on the boards where it belongs.


larryd

Tell them to read #7 & 8

7. If you are posting code or error messages, use "code" tags

8. You can add attachments

http://forum.arduino.cc/index.php/topic,148850.0.html



No technical PMs.
If you are asked a question, please respond with an answer.
If you are asked for more information, please supply it.
If you need clarification, ask for help.

Go Up