|
-
Jan 16th, 2014, 08:12 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Code tags
When posting VB code, I can only located the tags for CODE, PHP and HTML.
How do I post VB code and have highlights? I can't seem to figure it out.
-
Jan 16th, 2014, 08:19 PM
#2
Re: Code tags
In the advanced editor there is a button for HIGHLIGHT tags and it prompts you for an option. If you posting VB6 code, the option should be "vb". Use "vb.net" for VB.NET code. You can also use "sql" and others. E.g. this:
[highlight=vb.net]Dim str As String = "Hello World"[/highlight]
produces this:
vb.net Code:
Dim str As String = "Hello World"
Just note that the HIGHLIGHT tag doesn't support other formatting internally. That means that you must use [code] tags if you want to use bold, underline or colouring on specific parts of your code.
-
Jan 16th, 2014, 08:23 PM
#3
Thread Starter
Hyperactive Member
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|