]> git.mxchange.org Git - friendica.git/commitdiff
code highlight - add docu
authorrabuzarus <>
Fri, 17 Jun 2016 09:02:27 +0000 (11:02 +0200)
committerrabuzarus <>
Fri, 17 Jun 2016 09:02:27 +0000 (11:02 +0200)
doc/BBCode.md
doc/de/BBCode.md

index 186b1cda932aec75a34b7d780b1399d3c83abc6b..d22f7afa58831c8b0acb27499edd6620c76cde21 100644 (file)
@@ -42,6 +42,12 @@ Block
 
 <p style="clear:both;">&nbsp;</p>
 
+<pre>[code=php]function text_highlight($s,$lang)[/code]</pre>
+
+<code><div class="hl-main"><ol class="hl-main"><li><span class="hl-code">&nbsp;</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>
+
+<p style="clear:both;">&nbsp;</p>
+
 <pre>[quote]quote[/quote]</pre>
 
 <blockquote>quote</blockquote>
index cd9fa7673e0235e886e6375472cfd8ce5df0a254..d852a4a4fe0ae5b3bbb83f46e54f55e8d3159d41 100644 (file)
@@ -42,6 +42,12 @@ Block Tags
 
 <p style="clear:both;">&nbsp;</p>
 
+<pre>[code=php]function text_highlight($s,$lang)[/code]</pre>
+
+<code><div class="hl-main"><ol class="hl-main"><li><span class="hl-code">&nbsp;</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>
+
+<p style="clear:both;">&nbsp;</p>
+
 <pre>[quote]Zitat[/quote]</pre>
 
 <blockquote>Zitat</blockquote>