How to post code like php, C, C++ ...
What should I install code to post in forum ?
Example:
[CODE]
test test
test test
[/CODE]
Code php, C, java
0
What should I install code to post in forum ?
Example:
[CODE]
test test
test test
[/CODE]
Code php, C, java
Comments
Depends on the format you have chosen:
html
< code >... </ code>
< pre > .... </ pre>
markdown:
~~~
...
~~~
BBCode
[code] ... [/code]
By the way: I guess the HTML < code > will always work, but beware: html is no code for the code tag. See that mess...
<div class="Item-Body"> <div class="Message"> <p>What should I install code to post in forum ?</p> <p>Example:</p> <p>[CODE] test test test test [/CODE]</p> <p>Code php, C, java</p> </div> <div id="editor-uploads-discussionid26504" class="editor-upload-saved editor-upload-readonly"> </div> <div class="Reactions"><a class="ReactButton Quote Visible" href="http://vanillaforums.org/post/quote/26504/Discussion_26504"><span class="ReactSprite ReactQuote"></span> Quote</a> <span class="Column-Score Hidden">0</span><!-- Reactions --> <span class="Bullet">·</span> <span class="ReactMenu"><span class="ReactButtons"> <a rel="nofollow" data-reaction="promote" title="Promote" href="/react/discussion/promote?id=26504" class="Hijack ReactButton ReactButton-Promote"><span class="ReactSprite ReactPromote"></span> <span class="ReactLabel">Promote</span></a> <a rel="nofollow" data-reaction="insightful" title="Insightful" href="/react/discussion/insightful?id=26504" class="Hijack ReactButton ReactButton-Insightful"><span class="ReactSprite ReactInsightful"></span> <span class="ReactLabel">Insightful</span></a> <a rel="nofollow" data-reaction="awesome" title="Awesome" href="/react/discussion/awesome?id=26504" class="Hijack ReactButton ReactButton-Awesome"><span class="ReactSprite ReactAwesome"></span> <span class="ReactLabel">Awesome</span></a> <a rel="nofollow" data-reaction="lol" title="LOL" href="/react/discussion/lol?id=26504" class="Hijack ReactButton ReactButton-LOL"><span class="ReactSprite ReactLOL"></span> <span class="ReactLabel">LOL</span></a> </span></span><!-- Share --> <span class="Bullet">·</span> <a class="ReactButton PopupWindow" href="http://vanillaforums.org/post/facebook/discussion?id=26504"><span class="ReactSprite ReactFacebook"></span></a> <a class="ReactButton PopupWindow" href="http://vanillaforums.org/post/twitter/discussion?id=26504"><span class="ReactSprite ReactTwitter"></span></a></div> </div>Ever posted the "evil" smiley
at the beginning of a line?
Not so evil any more....
Uhm, sorry. Please excuse me spamming...
aside from the formatting suggestions r_j offered....
by the way if any one has trouble posting html tags without the tag being acted upon. you could use
the
<e.g.<html>becomes <html>some people use geshi plugin
and there is a mod http://vanillaforums.org/discussion/comment/204031/#Comment_204031
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.