Improve BBCode documentation/comment
This commit is contained in:
parent
d75bb8e970
commit
157027a6f5
2 changed files with 23 additions and 2 deletions
|
@ -165,7 +165,7 @@ line
|
||||||
code</code></td>
|
code</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>[code=php]function text_highlight($s,$lang)[/code]</td>
|
<td>[code=php]function text_highlight($s,$lang)[/code]<sup><a href="#supported-code">1</a></sup></td>
|
||||||
<td><code><div class="hl-main"><ol class="hl-main"><li><span class="hl-code"> </span><span class="hl-reserved">function</span><span class="hl-code"> </span><span class="hl-identifier">text_highlight</span><span class="hl-brackets">(</span><span class="hl-var">$s</span><span class="hl-code">,</span><span class="hl-var">$lang</span><span class="hl-brackets">)</span></li></ol></div></code></td>
|
<td><code><div class="hl-main"><ol class="hl-main"><li><span class="hl-code"> </span><span class="hl-reserved">function</span><span class="hl-code"> </span><span class="hl-identifier">text_highlight</span><span class="hl-brackets">(</span><span class="hl-var">$s</span><span class="hl-code">,</span><span class="hl-var">$lang</span><span class="hl-brackets">)</span></li></ol></div></code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -208,6 +208,27 @@ code</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<a name="supported-code">1</a>: Supported language parameter values for code highlighting:
|
||||||
|
- abap
|
||||||
|
- avrc
|
||||||
|
- cpp
|
||||||
|
- css
|
||||||
|
- diff
|
||||||
|
- dtd
|
||||||
|
- html
|
||||||
|
- java
|
||||||
|
- javascript
|
||||||
|
- js
|
||||||
|
- mysql
|
||||||
|
- perl
|
||||||
|
- php
|
||||||
|
- python
|
||||||
|
- ruby
|
||||||
|
- sh
|
||||||
|
- sql
|
||||||
|
- vbscript
|
||||||
|
- xml
|
||||||
|
|
||||||
### Titles
|
### Titles
|
||||||
|
|
||||||
<table class="bbcodes">
|
<table class="bbcodes">
|
||||||
|
|
|
@ -1075,7 +1075,7 @@ class BBCode
|
||||||
}
|
}
|
||||||
|
|
||||||
// We only call this so that a previously unknown contact can be added.
|
// We only call this so that a previously unknown contact can be added.
|
||||||
// This is important for the function "get_contact_details_by_url".
|
// This is important for the function "Model\Contact::getDetailsByURL()".
|
||||||
// This function then can fetch an entry from the contact table.
|
// This function then can fetch an entry from the contact table.
|
||||||
Contact::getIdForURL($profile, 0);
|
Contact::getIdForURL($profile, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue