PDA

View Full Version : how to show forun code???



tvus_ogl
04-30-2017, 09:40 AM
how do i get ny code in a code box???

<code>
this isn't how it's done
forum faq doesn't explain it at all
please help me
</code>

Dark Photon
04-30-2017, 02:49 PM
This is what you're looking for:

* VBulletin Markup (https://www.opengl.org/discussion_boards/misc.php?do=bbcode) (OpenGL.org Forums)

More specfically, you do it by surrounding the code with one of:

... or
...

Note that there are other language options besides "cpp" for the "highlight" tag, including "glsl".

tvus_ogl
05-01-2017, 11:52 AM
thanks so much