diff options
author | git-marijus <mario@mariovavti.com> | 2016-04-30 19:24:43 +0200 |
---|---|---|
committer | git-marijus <mario@mariovavti.com> | 2016-04-30 19:24:43 +0200 |
commit | 80c9a8b8f670a17fe1c4fdadf0eea50cb0cc17ef (patch) | |
tree | 80f3379aa2d20e14dda23579fdeb2d5adaa29c31 /doc/bbcode.html | |
parent | 8544819be1c938496dcb27d4cc600ab96119417f (diff) | |
parent | e7fbf1b017989459379e596511b602c982b5d4d3 (diff) | |
download | volse-hubzilla-80c9a8b8f670a17fe1c4fdadf0eea50cb0cc17ef.tar.gz volse-hubzilla-80c9a8b8f670a17fe1c4fdadf0eea50cb0cc17ef.tar.bz2 volse-hubzilla-80c9a8b8f670a17fe1c4fdadf0eea50cb0cc17ef.zip |
Merge pull request #361 from Treer/bbcode
Add definition lists to bbcode
Diffstat (limited to 'doc/bbcode.html')
-rw-r--r-- | doc/bbcode.html | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/doc/bbcode.html b/doc/bbcode.html index 3e9bda1d9..5a51135ea 100644 --- a/doc/bbcode.html +++ b/doc/bbcode.html @@ -27,12 +27,31 @@ <li>[list=a]<br /> <li>[list=A] <br /> <li>[ul]<br /> -<li>[ol] +<li>[ol]<br /> +<li>[dl]<br /> +<li>[dl terms="biumlh"] — where style of the terms can be any combination of: + <dl class="bb-dl dl-horizontal"> + <dt>b</dt><dd>bold</dd> + <dt>i</dt><dd>italic</dd> + <dt>u</dt><dd>underline</dd> + <dt>m</dt><dd>monospace</dd> + <dt>l</dt><dd>large</dd> + <dt>h</dt><dd>horizontal — like <em>this</em> defintion list</dd> + </dl> +</li> </ul>For example:<br />[ul]<br />[*] First list element<br />[*] Second list element<br />[/ul]<br /><br />Will render something like: <br /> <ul class="listbullet" style="list-style-type: circle;"> <li> First list element<br /> -<li> Second list element</ul><br /> +<li> Second list element</ul> + +or<br /><br />[dl terms="b"]<br />[*= First element term] First element description<br />[*= Second element term] Second element description<br />[/dl]<br /><br />Will render something like: <br /><br /> +<dl class="bb-dl dl-terms-bold"> +<dt> First element term </dt><dd>First element description</dd> +<dt> Second element term </dt><dd>Second element description</dd> +</dl><br /> + + <br />There's also:<br /> <ul class="listloweralpha" style="list-style-type: lower-alpha;"> <li>[hr]<br /> |