Download for PHP  R515 (beta)
Welcome » Extensions » Extension list » FormatAs
Expand

Input document

.

Upload document:

FormatAs

Extension list »

See also NewStyle.

Sets default markup used for one of extension callers – formatter or action.

For example, by default %% simply outputs **preformatted** text.

Now it highlights it as PHPecho 'PHP code'; – useful if you’re writing an article about PHP.

By default, Mirror formats itself as Wacko:

This is //some// ((/Basic)).

This is some Basic formatting.

You can make it work with XML explicitly by chaining them together:

<?xml version="1.0"?>
<root></root>
xml<?xml version="1.0"?>
<root></root>

Or make it default using FormatAs:

<?xml version="1.0"?>
<root></root>
xml<?xml version="1.0"?>
<root></root>

Multiple style names can be set in one call:

This is equivalent to calling
**~%%(mirror; domhint; wacko)**.

This is equivalent to calling
%%(mirror; domhint; wacko).

Languages