Special Attributes

Special attributes are supported on most Wiki markup. These attributes add to the complexity of the document, and thus should be avoided where possible.

The special attributes are added immediately after the first punctuation characters of the Wiki markup in question. The special attributes should always be separated from any following text by a single space. Here are a number of examples, each of which assigns the “x” style to the specified element.

!!!@x Heading
\@x Paragraph
*@x List Item
|@x Simple Table Cell |
||||@x |||@x ||@x
{{{@x
{{{%@x
----@x
[[@x Hyperlink]]
A {{@x segment}}.
Some {{*@x strong}} text.

Multiple special attributes can be added, one after another, in any order, with no space in between. Here is a paragraph with two styles and an identifier:

\@indent@bold#top A paragraph with two styles and an ID.

Identifiers

Identifiers are generally used to provide a special destination for hyperlinks.

To specify an identifier, use a “number sign” (#) followed by the identifier. Only one identifier should be specified per Wiki markup.

\#link_here Link to [[this paragraph >> # link_here]].

Language

The language of the text contained by a Wiki element can be specified with this special attribute.

To specify the language, use a colon (:) followed by the language tag (as used by XML). Only one language should be specified per Wiki element.

\:en Do you speak {{:es español}}?

Do you speak español?

Styles

Each element can be represented by one or more styles, which have an application-specific effect on the presentation of that text.

To specify a style, use an “at” symbol (@) followed by the name of the style. Multiple styles are permitted.

A stylesheet could change the color of {{@happy this text}}.

A stylesheet could change the color of this text.

Direction

Use a less-than symbol (<) to change the direction of text to right-to-left; use a greater-than symbol (>) to change the direction of the text to left-to-right.

\< This paragraph is right-to-left.

This paragraph is right-to-left.

Macros

Each element can have attached to it one or more macros, which have an application-specific effect on the presentation of that text.

To specify a macro, use a question mark (?) followed by the name of the macro, optionally followed by macro arguments in doubled-parentheses. Multiple macros are permitted. (In the example below, the size macro is not actually supported, so it has no effect on the text.)

This text {{?size((32pt)) uses a macro}}.

This text uses a macro.



Logos Bible Software Wiki

Welcome, Guest! (sign in)