Help?

Help:Inline Text Presentation

From Textpattern CMS User Documentation

For the most part, you should never need more than just basic text formatting to get things done, and for that reason we probably won't create more custom styles than truly necessary, but here we have some presentational styles for inline text that may come in handy.

Contents

Header Extensions (Topic Leaders)

This is based on a request for distinguished inline content headers that are not semantically marked-up with actual HTML header elements. The idea is that they follow a normal header element (any level) to separate different topics without being a child header (semantically speaking). These can be used anywhere in the wiki as needed. Following is an example beginning with an h5 header followed by the custom span:

H5 Header

This Inline Topic Leader | is for bringing attention to a new topic without having to use an actual HTML header.

Use the class like this:

<span class="topic-lead">Topic Leader Text</span>

Text Highlighting

This is a general use class to highlight text like this:

<span class="highlight">text here</span>

Red Text

This is a general use class to make text red:

<span class="red">text here</span>

Deprecation Flag

This is a specific use class for superscripts to indicate something is deprecated (e.g., tag attributes). The superscript text should be made a link (which has a hover state) that points to an explanation of the deprecated item:

<sup class="deprecated">[[category_talk:Tag Reference#Deprecated|deprecated]]</sup>

Translations [?]