{% extends "base.html" %} {% load static from staticfiles %} {% load bbc %} {% block page_name %} BBCode Reference - {% endblock %} {% block content %}

BBCode Reference

{{ config.forum_name }} allows users to post using a lightweight markup language called BBCode. BBCode is non-standardized and implementations are idiosyncratic. This page documents the most common BBCode tags available to users.

Function BBCode Rendered Output
Bold [b]bold text[/b] {{ "[b]bold text[/b]"|bbc }}
Oblique [i]oblique text[/i] {{ "[i]oblique text[/i]"|bbc }}
Underline [u]underline text[/u] {{ "[u]underline text[/u]"|bbc }}
Quoting [quote author=Diogenes]
Dogs and philosophers do the greatest good and get the fewest rewards.
[/quote]
{{ "[quote author=Diogenes]Dogs and philosophers do the greatest good and get the fewest rewards.[/quote]"|bbc }}
Code [code] (define Y (lambda (h) ((lambda (x) (x x)) (lambda (g) (h (lambda args (apply (g g) args))))))) [/code] {% filter bbc %} [code] (define Y (lambda (h) ((lambda (x) (x x)) (lambda (g) (h (lambda args (apply (g g) args))))))) [/code] {% endfilter %}
Image Embedding* [img]http://i.imgur.com/oe6rnCW.png[/img] {{ "[img]http://i.imgur.com/oe6rnCW.png[/img]"|bbc }}
Youtube Embedding [video]https://www.youtube.com/watch?v=1rmo3fKeveo[/video] {{ "[video]https://www.youtube.com/watch?v=1rmo3fKeveo[/video]"|bbc }}
Bandcamp Embedding [bc]https://nounss.bandcamp.com/track/dogs[/bc] {{ "[bc]https://nounss.bandcamp.com/track/dogs[/bc]"|bbc }}
Spoilers [spoiler]Ritsu is best girl[/spoiler] {{ "[spoiler]Ritsu is best girl[/spoiler]"|bbc }}

A Note on Image Embedding*

Images embedded using bbcode are not hosted on {{ config.forum_name }}, they are hosted on other servers and the bbcode renderer simply presents them to you. Most browsers will request images from other servers without prompting you. Since users can embed arbitrary images this behavior can induce your browser to give up some information, most significantly your publicly visible IP address and the approximate time you loaded a given page. If this is unacceptable to you then you should disable image embedding on your user profile page.

Smilies

You can also use a fixed set of emoticons in your posts using shortcode. To use a smiley, type a colon, followed by a smiley's name, followed by another colon. For example :hai: produces {{ ":hai:"|bbc }}.

You can find a list of all the supported emoticons here.

{% endblock %}