Подсказки по редактированию

  • Строки и параграфы распознаются автоматически. Теги переноса строки
    , параграфа

    и закрытия параграфа

    вставляются автоматически. Если параграфы не распознаны, просто добавьте пару пустых строк.
  • Syntax highlighting of source code can be enabled with the following tags:

    • Generic syntax highlighting tags: "", "".
    • Language specific syntax highlighting tags: "" for Pascal source code.

    Options and tips:

    • The language for the generic syntax highlighting tags can be specified with one of the attribute(s): type, lang, language, class. The possible values are: "pascal" (for Pascal).
    • The supported tag styles are: , [foo].
    • 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.
    • A title can be added to a code block with the attribute "title".

    Defaults:

    • Default highlighting mode for generic syntax highlighting tags: the default language used for syntax highlighting is "pascal".
    • Default line numbering: no line numbers.

    Examples:

    You type You get
    foo = "bar"; Inline code with the default syntax highlighting mode.

    foo = "bar";
    baz = "foz";
    Code block with the default syntax highlighting mode.

    foo = "bar";
    baz = "foz";
    Code block with syntax highlighting for Pascal source code
    and normal line numbers.

    foo = "bar";
    baz = "foz";
    Code block with syntax highlighting for Pascal source code,
    line numbers starting from 23
    and highlighted line numbers every 7th line.

    foo = "bar";
    baz = "foz";
    Code block with syntax highlighting for Pascal source code.

    foo = "bar";
    baz = "foz";
    Code block with syntax highlighting for Pascal source code,
    line numbers starting from 23
    and highlighted line numbers every 7th line.