Menu

BBCodes

Ulf Dittmer
There is a newer version of this page. You can find it here.

When writing a post, you have many options for how to structure and style the text, add links and images, and just in general add some pizzazz. This is achieved by using BB codes. The basics are explained in https://en.wikipedia.org/wiki/BBCode, but JForum does not work exactly like what is described there. The following is a list of all available codes, and examples of their usage.

[code]Put your code between these tags to have displayed with line numbers in monospaced font, ready to be copied.[/code] Use the [code=java]Java code goes here[/code] for particular languages

[quote]If you press the Quote button, this is what gets used by default.[/quote] YOu can use mor ethan quote per post, and you can also attribute the author by using [quote=Kilroy]This is what Kilroy said[/quote].

Text styles: [i]italic[/i], [b]bold[/b], [tt]monospaced font[/tt], [strike]strike-through[/strike], [color=red]colored text[/color], [size=20]sizable text[/size]

[hr]

[list]This is a bulleted list item[/list]

[img]https://www.example.com/my-image.png[/img]

https://www.example.com

www.example.com

ftp.example.com

user@example.com

[url]https://www.example.com[/url]

[url=https://www.example.com]This si the example web site.[/url]

[google]search this on Google[/google]

[wikipedia]Wikipedia_Page[/wikipedia]

[wikipedia=de]Wikipedia_Page_in_German[/wikipedia]

Embed videos from Youtube and Vimeo: [youtube]https://www.youtube.com/watch?v=3m5qxZm_JqM[/youtube] [vimeo]https://vimeo.com/92199684[/vimeo]

Add links to javadocs without having to look up where they're hosted: [javadoc]org.apache.commons.lang3.StringUtils[/javadoc] Works for JSE, JEE, Hibernate, Spring, many Apache projects, and many other libraries.


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.