Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Rackham S.AsciiDoc user guide Rev7.1.2.2006.pdf
Скачиваний:
19
Добавлен:
23.08.2013
Размер:
298.24 Кб
Скачать

AsciiDoc User Guide

[quotes] __=underline

[tags]

underline=<u>|</u>

You can specify the left and right quote strings separately by separating them with a | character, for example:

[quotes]

((|))=gui

If you set the tag to none then a blank string will be substituted for the quoted text which has the effect of dropping the quoted text from the output document.

Quoted text behavior

Quote characters must be non-alphanumeric.

To minimize quoting ambiguity try not to use the same quote characters in different quote types.

Special Words

The [specialwords] section is used to single out words and phrases that you want to consistently format in some way throughout your document without having to repeatedly specify the markup. The name of each entry corresponds to a markup template section and the entry value consists of a list of words and phrases to be marked up. For example:

[specialwords] strongwords=NOTE: IMPORTANT:

[strongwords]

<strong>{words}</strong>

The examples specifies that any occurrence of NOTE: or IMPORTANT: should appear in a bold font.

Words and word phrases are treated as Python regular expressions: for example, the word ^NOTE: would only match NOTE: if appeared at the start of a line.

AsciiDoc comes with three built-in Special Word types: emphasizedwords, monospacedwords and strongwords, each has a corresponding (backend specific) markup template section. Edit the configuration files to customize existing Special Words and to add new ones.

Special word behavior

Word list entries must be separated by space characters.

Word list entries with embedded spaces should be enclosed in quotation (") characters.

51