|
-
Normal - Normal text style
-
Heading 1-6 - Headings; 1 is largest
- On save, content in this HTML editor is automatically converted to Foswiki TML (Topic Markup Language). The following styles let you apply special Foswiki tags that control that conversion, and how the resulting text is displayed.
-
VERBATIM - Text is shown in monospace with line breaks. Wraps Foswiki <verbatim> tags around the selected text. No macros are interpreted inside verbatim tags.
-
LITERAL - Styled content is saved exactly as it appears in the editor. Saves the selected content as raw HTML and wraps it in foswiki <literal> tags.
-
Protect on save - Use this to protect newly-created advanced macros, where you want to prevent conversion of HTML in the macro to TML. When the topic is re-edited, well-formed macros are automatically re-protected.
-
Protect forever - Wrap the selection in Foswiki <sticky> tags. Use this to protect content so it always appears exactly as shown in the editor.
|
Defining Preference Settings/Macros
- Create a list item using the toolbar button
- In the list item, type
Set NAME = value
- Select the value, and assign the
Protect on save style to it (only required if the value contains any Foswiki Topic Markup Language or if you style it e.g. to add bold, or if it's sensitive to the number of spaces)
Using a Macro
- Just type it in. When the topic is saved, what you type will be saved just as you wrote it.
- If any part of your macro parameters is sensitive to spacing or contains HTML, then select the entire macro and assign the
Protect on save style to it before you save.
More on macros
Editing the raw text instead of Wysiwyg
- Select
, or use the Raw Edit link in the bottom action bar.
|