I'm using the medium/simple editor mode.
So far, I know [CODE], [QUOTE=username], [IMG=url-of-image], [COLOR="#color-code"], [FONT=font-face], [SIZE=font-size], [LIST=start-from-if-ordered-list] (and [*]), [URL=link-url], and I think there was an attachment tag, but I forgot how to use that one.
(Note, gray text = optional)
What are the other tags for this "forum markup language" stuff?
24 replies to this topic
#1
Posted 04 October 2011 - 05:48 PM
|
|
|
#2
Posted 05 October 2011 - 04:24 AM
This forum is a vbulletin forum, so I guess we can use thoses tags
vBulletin.org Forum - vB Code List
vBulletin.org Forum - vB Code List
#3
Posted 05 October 2011 - 07:03 AM
Wait, those tags don't have to be in caps? This would work?:
[code]print "Hello World!\r\n"; [/cOdE]
[code]print "Hello World!\r\n"; [/cOdE]
#4
Posted 05 October 2011 - 07:41 AM
Only one way to know for sure
---------- Post added at 11:41 AM ---------- Previous post was at 11:41 AM ----------
Guess they don't have to be cap after all!
Test
Test
---------- Post added at 11:41 AM ---------- Previous post was at 11:41 AM ----------
Guess they don't have to be cap after all!
#5
Posted 05 October 2011 - 03:04 PM
I wonder about the formatting within CODE tags. Let's try it.
EDIT: For some reason,strikethrough tags don't seem to work at all, even though that vBulletin page did have the S tag. But other than that, it seems to work fine.
test
[FONT=Georgia][[/FONT]/CODE[FONT=Georgia]][/FONT] [B]bold[/B] [I]italic[/I] [U]underlined[/U] [S]strikeout[/S] [SIZE=24]24-sized[/SIZE] [SIZE=7]7-sized[/SIZE] [COLOR="#DDAA88"]I'm sure COLOR works because I used it within CODE tags before.[/COLOR] [IMG]http://www.google.com/intl/en_com/images/srpr/logo3w.png[/IMG] [URL="http://www.google.com/intl/en_com/images/srpr/logo3w.png"]a link[/URL] [quote name='RhetoricalRuvim']... caps? ...[/QUOTE] Okay, I think that's enough testing for now.
EDIT: For some reason,
#6
Posted 05 October 2011 - 10:49 PM
I use to [strike]strike text.
#7
Posted 06 October 2011 - 04:19 AM
By the way, how do you write word like strike inside [] without doing an actual strike?
#8
Posted 06 October 2011 - 04:49 AM
I just didn't close the tag...
#9
Posted 06 October 2011 - 04:54 AM
Good to know
Test: [CODE]...
Test: [CODE]...
#10
Posted 06 October 2011 - 06:34 AM
I got a better idea. What if you can't not close the tags? I use the same method to stop smily-faces, like this :), or otherwise they'll become faces :)
I use this:
[FONT=Georgia][[/FONT]CODE[FONT=Georgia]][/FONT]...testing...[FONT=Georgia][[/FONT]/CODE[FONT=Georgia]][/FONT]
I wrote a quick program, right now, that does the conversion from regular text to non-tag vBulletin code:
I use this:
[FONT=Georgia][[/FONT]CODE[FONT=Georgia]][/FONT]...testing...[FONT=Georgia][[/FONT]/CODE[FONT=Georgia]][/FONT]
I wrote a quick program, right now, that does the conversion from regular text to non-tag vBulletin code:
[noparse]<html>
<head>
<title> Text To vBulletin </title>
</head>
<body>
<h1> Text To vBulletin </h1>
Source Text: <BR>
<textarea id="text" cols="80" rows="10"></textarea> <BR> <BR>
Destination Code: <BR>
<textarea id="dest" cols="80" rows="10"></textarea> <BR> <BR>
<button onClick="document.getElementById('dest').value= ignore_tags (document.getElementById('text').value);">
Convert
</button>
<script type="text/javascript">
function ignore_tags (text){
var a= text.split("[");
var i;
for (i= 0; i < a.length; i++) a[i]= a[i].split("]").join("[FONT=Georgia]][/FONT]");
return a.join("[FONT=Georgia][[/FONT]");
}
</script>
</body>
</html> [/noparse]
Edited by RhetoricalRuvim, 05 February 2012 - 02:49 PM.
#11
Posted 11 October 2011 - 04:53 PM
I'd like to see something like:
[code=java/cpp/c/js/ruby]
After setting this attribute, the keywords/braces/symbols/etc in these languages would be color coded for easier reading.
[code=java/cpp/c/js/ruby]
After setting this attribute, the keywords/braces/symbols/etc in these languages would be color coded for easier reading.
#12
Posted 14 October 2011 - 07:36 AM
FYI - there is a noparse tag that will prevent bbcode from being parsed.
[noparse]Lorem ipsum dolor sit amet[/noparse]
[noparse][noparse]Lorem ipsum dolor sit amet[/noparse][/noparse]
[noparse]Lorem ipsum dolor sit amet[/noparse]
[noparse][noparse]Lorem ipsum dolor sit amet[/noparse][/noparse]
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









