Доступны HTML теги: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
Этот сайт допускает использование материалов с разметкой HTML. Изучение всего языка HTML может показаться пугающим, но использование небольшого количества основных "тегов" - это очень просто. Приведенная таблица показывает примеры для каждого тега из доступных на сайте.
Больше информации вы можете получить на странице официальных спецификаций HTML или используйте ваш любимый поисковик, чтобы найти сайты, разъясняющие HTML.
| Описание тега | Вы пишете | Вы получаете |
| Якоря используются для создания ссылок на другие страницы. | <a href="http://www.svobodainfo.org">Институт Развития Свободы Информации</a> | Институт Развития Свободы Информации |
| Курсив | <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. Например, & для вывода знака амперсанда. Полный список таких подстановок смотрите на странице подстановки. Некоторые из доступных символов:
| Описание знака | Вы пишете | Вы получаете |
| Амперсанд | & | & |
| Больше чем | > | > |
| Меньше чем | < | < |
| Кавычка | " | " |
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:
Mr. Drupal написал:
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...
Ms. Quotation написал:
This is a quote nested within another quote.
but you can't argue with
Ms. Reply написал:
The more quotes, the merrier.
Just don't get too carried away.
And I have nothing more to say.
Textile Help
Block modifier syntax:
CSS attributes can be applied to blocks (paragraphs, headers,
etc.). CSS classes are specifed with (class)
;
CSS IDs are specified with (#id)
; both can be
specified with (class#id)
. An arbtirary
CSS style can be applied by using
{style}
. Finally, language attributes are
applied using [language]
.
Additionally, alignment and indentation shorthands are provided. To
left-align, right-align, center, and justify text, use
<
, >
, =
, and
<>
, respectively. (
left-indents
a block 1em for each occurrence, and )
right-indents
similarly.
Tables have additional options. ^
, -
,
and ~
specify top, middle, and bottom vertical
alignment. The _
attribute on a cell indicates that
it is a table header.
The examples below illustrate these attributes.
| textile input |
output |
Headings
hx. (where x is 1 - 6)
|
| h1. Heading |
Heading |
| h2(class). Heading with class |
Heading with class |
Paragraphs |
| p=. Centered text |
Centered text |
| p())(#id). Indented text with ID |
Indented
text with ID
|
Block quotes |
| bq(class#id). Quote with class and ID |
Quote with class and
ID
|
| bq[en]. English quote |
English quote
|
Ordered lists |
{color: blue}# Attributes specified
# before the first item
# affect the whole list
|
- Attributes specified
- before the first item
- affect the whole list
|
Unordered lists |
* Lists can have
## subitems or
## sublists
* too
|
- Lists can have
- subitems or
- sublists
- too
|
Footnotes
fnx. (where x is 1 - 100)
|
| fn17. Footnote |
17 Footnote |
Tables |
|_. A|_. B|_. C|
(dark). |very|simple|table|
|<. left|=. center|>. right|
|^{height:3em}. top|-. middle|~. bottom|
|
| A |
B |
C |
| very |
simple |
table |
| left |
center |
right |
| top |
middle |
bottom |
|
Phrase modifier syntax:
The class, ID, style, and language attributes described above also
apply to the span phrase modifier as shown below.
| textile input |
output |
| _emphasis_ |
emphasis |
| __italic__ |
italic |
| *strong* |
strong |
| **bold** |
bold |
| ??citation?? |
citation |
| -delete text- |
deleted text |
| +inserted text+ |
inserted text |
| ^superscript^ |
superscript |
| ~subscript~ |
subscript |
| @code@ |
code |
| %(class)span% |
span |
| %{color:red;}span% |
span |
| ==no textile== |
no textile |
| "link text":http://drupal.org |
link text |
| "link text(title)":http://drupal.org |
link text |
| !/ru/misc/druplicon.png! |
 |
| !/ru/misc/druplicon.png(alt text)! |
 |
| !/ru/misc/druplicon.png!:http://drupal.org |
 |
| ABC(Always Be Closing) |
ABC |
| Footnote reference[10] |
Footnote reference10 |