Редактировать подсказки

  • Адреса страниц и электронной почты автоматически преобразуются в ссылки.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>

    Этот сайт допускает использование материалов с разметкой HTML. Изучение всего языка HTML может показаться пугающим, но использование небольшого количества основных "тегов" - это очень просто. Приведенная таблица показывает примеры для каждого тега из доступных на сайте.

    Больше информации вы можете получить на странице официальных спецификаций HTML или используйте ваш любимый поисковик, чтобы найти сайты, разъясняющие HTML.

    Описание тегаВы пишетеВы получаете
    Якоря используются для создания ссылок на другие страницы.<a href="http://www.stableversion.com">Stableversion</a>Stableversion
    Курсив<em>Курсив</em>Курсив
    Выделенный<strong>Выделенный</strong>Выделенный
    Цитата<cite>Цитата</cite>Цитата
    Для отображения исходных текстов программ<code>Исходный код</code>Исходный код
    Ненумерованный список – используйте <li> для начала каждого элемента списка<ul> <li>Первый элемент</li> <li>Второй элемент</li> </ul>
    • Первый элемент
    • Второй элемент
    Нумерованный список – используйте <li> для начала каждого элемента списка<ol> <li>Первый элемент</li> <li>Второй элемент</li> </ol>
    1. Первый элемент
    2. Второй элемент
    Списки определений похожи на другие списки HTML. <dl> начинает список определений, <dt> начинает определяемый термин и <dd> начинает описание определения.<dl> <dt>Первый термин</dt> <dd>Первое определение</dd> <dt>Второй термин</dt> <dd>Второе определение</dd> </dl>
    Первый термин
    Первое определение
    Второй термин
    Второе определение

    Большинство малоиспользуемых символов могут быть введены безо всяких проблем.

    Если проблемы всё же возникают, попробуйте использовать подстановки для символов языка HTML. Например, &amp; для вывода знака амперсанда. Полный список таких подстановок смотрите на странице подстановки. Некоторые из доступных символов:

    Описание знакаВы пишетеВы получаете
    Амперсанд&amp;&
    Больше чем&gt;>
    Меньше чем&lt;<
    Кавычка&quot;"
  • Строки и параграфы распознаются автоматически. Теги переноса строки <br />, параграфа <p> и закрытия параграфа </p> вставляются автоматически. Если параграфы не распознаны, просто добавьте пару пустых строк.
  • Syntax highlighting of source code can be enabled with the following tags:

    • Generic syntax highlighting tags: "<code>", "<blockcode>", "<pre>".
    • Language specific syntax highlighting tags: .

    Options and tips:

    • The language for the generic syntax highlighting tags can be specified with one of the attribute(s): type, lang, language. The possible values are: "abap" (for ABAP), "actionscript" (for ActionScript), "ada" (for Ada), "apache" (for Apache Log), "applescript" (for AppleScript), "asm" (for ASM), "asp" (for ASP), "autoit" (for AutoIt), "bash" (for Bash), "blitzbasic" (for BlitzBasic), "bnf" (for bnf), "c" (for C), "c_mac" (for C (Mac)), "caddcl" (for CAD DCL), "cadlisp" (for CAD Lisp), "cfdg" (for CFDG), "cfm" (for ColdFusion), "cpp" (for C++), "cpp-qt" (for C++ (QT)), "csharp" (for C#), "css" (for CSS), "d" (for D), "delphi" (for Delphi), "diff" (for Diff), "div" (for DIV), "dos" (for DOS), "dot" (for dot), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "eiffel" (for Eiffel), "fortran" (for Fortran), "freebasic" (for FreeBasic), "genero" (for genero), "gml" (for GML), "groovy" (for Groovy), "haskell" (for Haskell), "html4strict" (for HTML), "idl" (for Uno Idl), "ini" (for INI), "inno" (for Inno), "io" (for Io), "java" (for Java), "java5" (for Java(TM) 2 Platform Standard Edition 5.0), "javascript" (for Javascript), "latex" (for LaTeX), "lisp" (for Lisp), "lua" (for Lua), "m68k" (for Motorola 68000 Assembler), "matlab" (for Matlab M), "mirc" (for mIRC Scripting), "mpasm" (for Microchip Assembler), "mysql" (for MySQL), "nsis" (for NSIS), "objc" (for Objective C), "ocaml" (for OCaml), "ocaml-brief" (for OCaml), "oobas" (for OpenOffice.org Basic), "oracle8" (for Oracle 8 SQL), "pascal" (for Pascal), "per" (for per), "perl" (for Perl), "php" (for PHP), "php-brief" (for PHP), "plsql" (for PL/SQL), "python" (for Python), "qbasic" (for QBasic/QuickBASIC), "rails" (for Rails), "reg" (for Microsoft Registry), "robots" (for robots.txt), "ruby" (for Ruby), "sas" (for SAS), "scheme" (for Scheme), "sdlbasic" (for sdlBasic), "smalltalk" (for Smalltalk), "smarty" (for Smarty), "sql" (for SQL), "tcl" (for TCL), "text" (for Text), "thinbasic" (for thinBasic), "tsql" (for T-SQL), "vb" (for Visual Basic), "vbnet" (for vb.net), "vhdl" (for VHDL), "visualfoxpro" (for Visual Fox Pro), "winbatch" (for Winbatch), "xml" (for XML), "xpp" (for X++), "z80" (for ZiLOG Z80 Assembler).
    • Line numbering can be enabled/disabled with the attribute "linenumbers". Possible values are: "off" for no line numbers, "normal" for normal line numbers and "fancy" for fancy line numbers (every nth line number highlighted). The start line number can be specified with the attribute "start", which implicitly enables normal line numbering. For fancy line numbering the interval for the highlighted line numbers can be specified with the attribute "fancy", which implicitly enables fancy line numbering.
    • If the source code between the tags contains a newline (e.g. immediatly after the opening tag), the highlighted source code will be displayed as a code block. Otherwise it will be displayed inline.

    Defaults:

    • Default highlighting mode for generic syntax highlighting tags: when no language attribute is specified the code block won't be processed by the GeSHi filter.
    • Default line numbering: no line numbers.

    Examples:

    You typeYou get
    <code>foo = "bar";</code>Inline code with the default syntax highlighting mode.
    <code>
    foo = "bar";
    baz = "foz";
    </code>
    Code block with the default syntax highlighting mode.
    <code lang="applescript" linenumbers="normal">
    foo = "bar";
    baz = "foz";
    </code>
    Code block with syntax highlighting for AppleScript source code
    and normal line numbers.
    <code language="applescript" start="23" fancy="7">
    foo = "bar";
    baz = "foz";
    </code>
    Code block with syntax highlighting for AppleScript source code,
    line numbers starting from 23
    and highlighted line numbers every 7th line.
  • You can insert footnotes directly into texts with <fn>This text becomes a footnote.</fn>. This will be replaced with a running number (the footnote reference) and the text within the <fn> tags will be moved to the bottom of the page (the footnote).