diff options
author | Treer <treer.git@the-bordello.com> | 2016-04-28 23:48:50 +1000 |
---|---|---|
committer | Treer <treer.git@the-bordello.com> | 2016-04-30 01:13:34 +1000 |
commit | 9d079e5d2b3dad4e9d0ce962ba2cd8a815a297db (patch) | |
tree | 3b914d80747697e2dbcd3dcd0cecb0281d01a182 /doc/bbcode.html | |
parent | b664af748e32f6e8f3d451e95fd8cb65940eca17 (diff) | |
download | volse-hubzilla-9d079e5d2b3dad4e9d0ce962ba2cd8a815a297db.tar.gz volse-hubzilla-9d079e5d2b3dad4e9d0ce962ba2cd8a815a297db.tar.bz2 volse-hubzilla-9d079e5d2b3dad4e9d0ce962ba2cd8a815a297db.zip |
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 /> |