mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
correct the bbcode documentation for syntax highlighted code blocks now that this is provided by a plugin.
This commit is contained in:
parent
dfc0d4cf59
commit
8ae97b556e
1 changed files with 3 additions and 1 deletions
|
@ -61,7 +61,9 @@ text</code></td><td>
|
|||
</table>
|
||||
|
||||
<h3>Code blocks</h3>
|
||||
Code can be rendered generically in a block or inline format (depending on if there are new line characters in the text), or you can specify a supported language for enhanced syntax highlighting. Supported languages include <strong>php, css, mysql, sql, abap, diff, html, perl, ruby, vbscript, avrc, dtd, java, xml, cpp, python, javascript, js, json, sh </strong>.
|
||||
Code can be rendered generically in a block or inline format (depending on if there are new line characters in the text), or you can specify a supported language for enhanced syntax highlighting. Syntax highlighting requires a suitable rendering plugin such as <strong>hilite</strong>. Supported languages with the hilite plugin include <strong>php, css, mysql, sql, abap, diff, html, perl, ruby, vbscript, avrc, dtd, java, xml, cpp, python, javascript, js, json, sh </strong>.
|
||||
<br><br>
|
||||
If a rendering plugin is not installed or an unsupported language is specified, the output for syntax highlighted code blocks is the same as the block format code tag.
|
||||
<br><br>
|
||||
<table class="table table-responsive table-bordered">
|
||||
<tbody>
|
||||
|
|
Loading…
Reference in a new issue