====== BB Codes ====== This is the list of BB Codes supported by the [[https://patchii.net/flashii/ami|Ami]] and [[https://patchii.net/flashii/mami|Mami]] clients. Previous versions of the protocol information did not specify the list of supported BB Codes, thus these are left up to the implementation. The list is split up in the BB Codes that came bundled in the [[https://patchii.net/sockchat/sockchat/src/commit/6c2111fb4b0241f9ef31060b0f86e7176664f572/client/conf/bbcode.json|original client implementation]] and those added later on [[https://patchii.net/flashii/mami/src/commit/6910514f72ae5e61fbf3406ba07728a2bb9ad2b2/src/mami.js/parsing.js#L4|Flashii]]. ===== Core ===== * [[sockchat:bbcodes:b|[b]]] - Makes text **bold**. * [[sockchat:bbcodes:i|[i]]] - Makes text //cursive//. * [[sockchat:bbcodes:u|[u]]] - Makes text __underlined__. * [[sockchat:bbcodes:quote|[quote]]] - Wraps text as an inline quote. * [[sockchat:bbcodes:code|[code]]] - Wraps text as ''an inline code section''. * [[sockchat:bbcodes:color|[color]]] - Changes the colour of a part of text. * [[sockchat:bbcodes:url|[url]]] - Marks a part of text as a clickable hyperlink, possibly also changing the text displayed. * [[sockchat:bbcodes:img|[img]]] - Embeds an image file. ===== Flashii ===== * [[sockchat:bbcodes:s|[s]]] - Makes text strikethrough. * [[sockchat:bbcodes:sjis|[sjis]]] - Displays text using Japanese full-width font. * [[sockchat:bbcodes:bgcolor|[bgcolor]]] - Changes the background colour of a part of text. * [[sockchat:bbcodes:audio|[audio]]] - Embeds an audio file. * [[sockchat:bbcodes:spoiler|[spoiler]]] - Wraps text with a spoiler box. ===== Conflict ===== The implementation of this BB Code in the original client source and Flashii client source differs. The Flashii behaviour should be preferred, but it is not impossible to support both. * [[sockchat:bbcodes:video-original|[video] Original]] - Embeds a YouTube video using its upload ID. * [[sockchat:bbcodes:video-flashii|[video] Flashii]] - Embeds a video file.