BBCode Syntax

Some text boxes on DAFNE Online allow you to use BBCode for formatting text. The example commands and their results are shown below:

Text formatting

[b]bolded text[/b]
will become bolded text

[i]italicized text[/i]
will become italicized text

[u]underlined text[/u]
will become underlined text

[s]strikethrough text[/s]
will become strikethrough text

[size=20]Large Text[/size]
will become Large Text

[color=red]Red Text[/color] AND
[color=#FF0000]Red Text[/color]
will both become Red Text

Links and Images

[url]https://dafne.nhs.uk[/url]
will become https://dafne.nhs.uk

[url=https://dafne.nhs.uk]DAFNE UK[/url]
will become DAFNE UK

[img]https://dafne.nhs.uk/wp-content/uploads/2020/01/dafne-logo-tm.svg[/img]
will become

Text Blocks

[quote]quoted text[/quote]
will become:

quoted text

[code]monospaced text[/code] will become:

monospaced text

[list]
[*] One
[*] Two
[*] Three
[/list]
will become:

Nesting

Note the above structures can all be nested:

[size=20][url]https://dafne.nhs.uk[/url][/size]
becomes https://dafne.nhs.uk

[color=red]
[list]
[*] One
[*] Two
[*] Three
[/list]
[/color]
becomes