• Before posting a question, please check our Frequently Asked Questions page as well as previous threads here. Odds are you aren't the first to ask, and you may find the answer without having to post!

Suggestion Adding comments to BBCode

Role Model

/t r X s h /
Something like
Code:
[IMG]http://www.someimagesitehere.com/image.jpg[/IMG]
[COMMENT]This is an image[/COMMENT]
Where code developers could add hidden credits, explain what each object does (this would be especially useful in larger works), ETC. I'm sure the site admins know what a comment is.
We could also use it like
Code:
[IMG]http://www.someimagesitehere.com/image.jpg[/IMG] [COMMENT]This is an image[/COMMENT]
Another suggestion, using
as a line breaker would be great, instead of having BBCode read breaks automatically. This could allow for code to be much, MUCH cleaner, since people could then actually format their code, instead of having to break it up in odd places to create linebreaks.
Code:
[IMG]http://www.someimagesitehere.com/image.jpg[/IMG] [COMMENT]This is the first image[/COMMENT]
[BR][/BR]
[IMG]http://www.someimagesitehere.com/image2.jpg[/IMG] [COMMENT]This is the second image, on a new line[/COMMENT]
 
You technically can add comments by putting asterisks at the end of tags such as:

This is a border

Code:
[div=border: 3px solid blue; **DONT USE THIS CODE**]This is a border[/div]
 
These are some valid points. BBXML, for use with my bbcoder tool lets you write comments in the <!-- --> format, along with using <br /> to explicit indicate line breaks. However, since not everyone wants to learn a new language, it'd be nice to see it implemented directly in BBCode in some way.
 
Something like
Code:
[IMG]http://www.someimagesitehere.com/image.jpg[/IMG]
[COMMENT]This is an image[/COMMENT]
Where code developers could add hidden credits, explain what each object does (this would be especially useful in larger works), ETC. I'm sure the site admins know what a comment is.
We could also use it like
Code:
[IMG]http://www.someimagesitehere.com/image.jpg[/IMG] [COMMENT]This is an image[/COMMENT]
Another suggestion, using
as a line breaker would be great, instead of having BBCode read breaks automatically. This could allow for code to be much, MUCH cleaner, since people could then actually format their code, instead of having to break it up in odd places to create linebreaks.
Code:
[IMG]http://www.someimagesitehere.com/image.jpg[/IMG] [COMMENT]This is the first image[/COMMENT]
[BR][/BR]
[IMG]http://www.someimagesitehere.com/image2.jpg[/IMG] [COMMENT]This is the second image, on a new line[/COMMENT]
You technically can add comments by putting asterisks at the end of tags such as:

This is a border

Code:
[div=border: 3px solid blue; **DONT USE THIS CODE**]This is a border[/div]
These are some valid points. BBXML, for use with my bbcoder tool lets you write comments in the <!-- --> format, along with using <br /> to explicit indicate line breaks. However, since not everyone wants to learn a new language, it'd be nice to see it implemented directly in BBCode in some way.

Code:
[comment]blah[/comment]

Enjoy!
 

Users who are viewing this thread

Back
Top