Разрешени HTML tag-ове: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
Syntax highlighting of source code can be enabled with the following tags:
<code>", "<blockcode>".<c>" for C source code, "<cpp>" for C++ source code, "<css>" for CSS source code, "<drupal5>" for Drupal 5 source code, "<drupal6>" for Drupal 6 source code, "<html>" for HTML 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++), "css" (for CSS), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "html" (for HTML), "html4strict" (for HTML), "java" (for Java), "javascript" (for Javascript), "php" (for PHP), "python" (for Python), "ruby" (for Ruby).<foo>, [foo].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="cpp" linenumbers="normal"> | Code block with syntax highlighting for C++ source code and normal line numbers. |
<code language="cpp" 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. |
<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. |
Последни коментари
преди 34 седмици 19 часа
преди 41 седмици 9 часа
преди 43 седмици 6 дни
преди 44 седмици 7 часа
преди 50 седмици 4 дни
преди 50 седмици 6 дни
преди 1 year 9 седмици
преди 1 year 36 седмици
преди 1 year 38 седмици
преди 1 year 38 седмици