Подсказки по редактированию
Доступны HTML теги: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
Этот сайт допускает использование материалов с разметкой HTML. Изучение всего языка HTML может показаться пугающим, но использование небольшого количества основных "тегов" - это очень просто. Приведенная таблица показывает примеры для каждого тега из доступных на сайте.
Больше информации вы можете получить на странице официальных спецификаций HTML или используйте ваш любимый поисковик, чтобы найти сайты, разъясняющие HTML.
Описание тега Вы пишете Вы получаете Якоря используются для создания ссылок на другие страницы. <a href="http://romka.eu">Ромка!eu</a>Ромка!eu Курсив <em>Курсив</em>Курсив Выделенный <strong>Выделенный</strong>Выделенный Цитата <cite>Цитата</cite>Цитата Для отображения исходных текстов программ <code>Исходный код</code>Исходный кодНенумерованный список – используйте <li> для начала каждого элемента списка <ul> <li>Первый элемент</li> <li>Второй элемент</li> </ul>- Первый элемент
- Второй элемент
Нумерованный список – используйте <li> для начала каждого элемента списка <ol> <li>Первый элемент</li> <li>Второй элемент</li> </ol>- Первый элемент
- Второй элемент
Списки определений похожи на другие списки HTML. <dl> начинает список определений, <dt> начинает определяемый термин и <dd> начинает описание определения. <dl> <dt>Первый термин</dt> <dd>Первое определение</dd> <dt>Второй термин</dt> <dd>Второе определение</dd> </dl>- Первый термин
- Первое определение
- Второй термин
- Второе определение
Большинство малоиспользуемых символов могут быть введены безо всяких проблем.
Если проблемы всё же возникают, попробуйте использовать подстановки для символов языка HTML. Например, & для вывода знака амперсанда. Полный список таких подстановок смотрите на странице подстановки. Некоторые из доступных символов:
Описание знака Вы пишете Вы получаете Амперсанд && Больше чем >> Меньше чем << Кавычка "" - Строки и параграфы распознаются автоматически. Теги переноса строки <br />, параграфа <p> и закрытия параграфа </p> вставляются автоматически. Если параграфы не распознаны, просто добавьте пару пустых строк.
Syntax highlighting of source code can be enabled with the following tags:
- Generic syntax highlighting tags: "
<code>", "<blockcode>". - 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, class. The possible values are: "
c" (for C), "cpp" (for C++), "css" (for CSS), "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), "text" (for Text). - 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: the default language used for syntax highlighting is "php".
- Default line numbering: normal line numbers.
Examples:
You type You 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="c" linenumbers="normal">
foo = "bar";
baz = "foz";
</code>Code block with syntax highlighting for C source code
and normal line numbers.<code language="c" start="23" fancy="7">
foo = "bar";
baz = "foz";
</code>Code block with syntax highlighting for C source code,
line numbers starting from 23
and highlighted line numbers every 7th line.- Generic syntax highlighting tags: "
Quoted content can be placed between [quote] tags in order to be displayed as an indented quote. Every [quote] tag must have a corresponding [/quote] tag. For example:
[quote]This is a simple quote.[/quote]
is displayed as:This is a simple quote.Additionally, there is an optional attribute which allows quotes to specify the original author.
[quote=Mr. Drupal]This is a quote with an attribution line.[/quote]
is displayed as:This is a quote with an attribution line.Finally, multiple [quote] tags can be nested within one another. Just remember that every [quote] tag must have a corresponding [/quote] tag.
[quote]I think she says it best... [quote=Ms. Quotation]This is a quote nested within another quote.[/quote] but you can't argue with [quote=Ms. Reply]The more quotes, the merrier. Just don't get too carried away.[/quote] And I have nothing more to say.[/quote]
is displayed as:I think she says it best...This is a quote nested within another quote.but you can't argue withThe more quotes, the merrier. Just don't get too carried away.And I have nothing more to say.- Replace tag [man]somebody[/man] as link to manual on php.net and tag [module]sombody[/module] as link to module page on drupal.org

Всем привет!
Последние комментарии