Syntax highlighting of source code can be enabled with the following tags:
<code>", "<blockcode>".<c>" for C source code, "<cpp>" for C++ source code, "<drupal5>" for Drupal 5 source code, "<drupal6>" for Drupal 6 source code, "<java>" for Java source code, "<javascript>" for Javascript source code, "<php>" for PHP source code, "<python>" for Python source code, "<ruby>" for Ruby source code.Options and tips:
c" (for C), "cpp" (for C++), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "html4strict" (for HTML), "java" (for Java), "javascript" (for Javascript), "php" (for PHP), "python" (for Python), "ruby" (for Ruby), "sql" (for SQL).Defaults:
Examples:
| You type | You get |
|---|---|
<code>foo = "bar";</code> | Inline code with the default syntax highlighting mode. |
<code> | Code block with the default syntax highlighting mode. |
<code lang="drupal5" linenumbers="normal"> | Code block with syntax highlighting for Drupal 5 source code and normal line numbers. |
<code language="drupal5" start="23" fancy="7"> | Code block with syntax highlighting for Drupal 5 source code, line numbers starting from 23 and highlighted line numbers every 7th line. |
<c> | Code block with syntax highlighting for C source code. |
<c start="23" fancy="7"> | Code block with syntax highlighting for C source code, line numbers starting from 23 and highlighted line numbers every 7th line. |
Eklediğiniz bağlantılara rel="nofollow" eklenerek, eklediklerinizin arama motorları tarafından bu site üzerinden indexlenmesi engellenir.
Video Filter
You may insert videos from popular video sites by using a simple tag [video:URL].
Examples:
[video:http://www.youtube.com/watch?v=uN1qUeId][video:http://www.youtube.com/watch?v=uN1qUeId1,http://www.youtube.com/watch?v=uN1qUeId2][video:http://www.youtube.com/watch?v=uN1qUeId autoplay:1][video:http://www.youtube.com/watch?v=uN1qUeId width:X height:Y][video:http://www.youtube.com/watch?v=uN1qUeId align:right]Supported sites: YouTube, Google Video, Tangle, DailyMotion, Eyespot, Revver, Vimeo, Flickr Slideshows, Flickr Video, Game Videos, Meta Cafe, Game Trailers, College Humor, MySpace, Capped, Blip.tv, Slideshare, Picasa Slideshows.
Special instructions:
Some codecs need special input. You'll find those instructions here.[video: http://picasaweb.google.com/data/feed/base/user/USER_NAME/albumid/5568104935784209834?alt=rss&kind=photo&hl=en_US]