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

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

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

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

      Описание тегаВы пишетеВы получаете
      Якоря используются для создания ссылок на другие страницы.<a href="http://blogs.scalemodels.ru">Blogs@Scalemodels.ru</a>Blogs@Scalemodels.ru
      Курсив<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: "<blockcode>", "<code>".
      • Language specific syntax highlighting tags: "<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:

      • 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: "bash" (for Bash), "c" (for C), "cpp" (for C++), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "java" (for Java), "javascript" (for Javascript), "php" (for PHP), "python" (for Python), "ruby" (for Ruby).
      • The supported tag styles are: <foo>, [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.

      Defaults:

      • Default highlighting mode for generic syntax highlighting tags: when no language attribute is specified, no syntax highlighting will be done.
      • Default line numbering: fancy line numbers (every 10 lines).

      Examples:

      You typeYou get
      <blockcode>foo = "bar";</blockcode>Inline code with the default syntax highlighting mode.
      <blockcode>
      foo = "bar";
      baz = "foz";
      </blockcode>
      Code block with the default syntax highlighting mode.
      <blockcode lang="javascript" linenumbers="normal">
      foo = "bar";
      baz = "foz";
      </blockcode>
      Code block with syntax highlighting for Javascript source code
      and normal line numbers.
      <blockcode language="javascript" start="23" fancy="7">
      foo = "bar";
      baz = "foz";
      </blockcode>
      Code block with syntax highlighting for Javascript source code,
      line numbers starting from 23
      and highlighted line numbers every 7th line.
      <c>
      foo = "bar";
      baz = "foz";
      </c>
      Code block with syntax highlighting for C source code.
      <c start="23" fancy="7">
      foo = "bar";
      baz = "foz";
      <c>
      Code block with syntax highlighting for C source code,
      line numbers starting from 23
      and highlighted line numbers every 7th line.
    • HTML tags will be transformed to conform to HTML standards.
    • HTML tags will be transformed to conform to HTML standards.
  • Full HTML:
    • Адреса страниц и электронной почты автоматически преобразуются в ссылки.
    • Строки и параграфы распознаются автоматически. Теги переноса строки <br />, параграфа <p> и закрытия параграфа </p> вставляются автоматически. Если параграфы не распознаны, просто добавьте пару пустых строк.
    • Syntax highlighting of source code can be enabled with the following tags:

      • Generic syntax highlighting tags: "<blockcode>", "<code>".
      • Language specific syntax highlighting tags: "<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:

      • 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: "bash" (for Bash), "c" (for C), "cpp" (for C++), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "java" (for Java), "javascript" (for Javascript), "php" (for PHP), "python" (for Python), "ruby" (for Ruby).
      • The supported tag styles are: <foo>, [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.

      Defaults:

      • Default highlighting mode for generic syntax highlighting tags: when no language attribute is specified, no syntax highlighting will be done.
      • Default line numbering: fancy line numbers (every 10 lines).

      Examples:

      You typeYou get
      <blockcode>foo = "bar";</blockcode>Inline code with the default syntax highlighting mode.
      <blockcode>
      foo = "bar";
      baz = "foz";
      </blockcode>
      Code block with the default syntax highlighting mode.
      <blockcode lang="cpp" linenumbers="normal">
      foo = "bar";
      baz = "foz";
      </blockcode>
      Code block with syntax highlighting for C++ source code
      and normal line numbers.
      <blockcode language="cpp" start="23" fancy="7">
      foo = "bar";
      baz = "foz";
      </blockcode>
      Code block with syntax highlighting for C++ source code,
      line numbers starting from 23
      and highlighted line numbers every 7th line.
      <c>
      foo = "bar";
      baz = "foz";
      </c>
      Code block with syntax highlighting for C source code.
      <c start="23" fancy="7">
      foo = "bar";
      baz = "foz";
      <c>
      Code block with syntax highlighting for C source code,
      line numbers starting from 23
      and highlighted line numbers every 7th line.