Strikethrough

The Strike Text macro provides a highly graphical alternative to standard strikethrough text indicating deleted or edited text. It applies this blue red marker strikethrough. You can combine it with our CSS Style Sheet Macro to further customize the text.

Instructions

  1. Navigate to the page you want to edit.
  2. Click Edit.
  3. Select the text to apply the strike formatting to, or click the location where you want to add strike text.
  4. Click Insert More Content > Other Macros.
  5. Select the Strike macro from the Macro Browser.
  6. The default strikethrough color is red. If you want to apply your own custom styling, you can use the CSS Class parameter. The output type is always inline.

    ParameterDescriptionTypeDefaultRequired

    CSS Class

    Use in combination with Global Confluence CSS or a CSS Stylesheet macro that you have added to your page.

    Enter the CSS class name(s) to apply to the macro (case sensitive); multiple classes can be separated by a space or comma. Do not include the.selector in the class name.

    string

    none

    (error)

  7. Click Insert. The macro placeholder displays with the text selected in step 3. If you have not preselected text, you can add your required text to the macro body.
  8. Save the page to view the rendered text.

The longer your text, the better the effect. Use this macro to strike out old prices after reducing them for a more graphical effect.

An example of the Strike macro marking out an old price.

When viewed with the Printable view, the text will simply have a line through it, making it easier to print.


If you are still stuck please contact our support team who can offer you more assistance. 
You can try our full range of content formatting macros for free by visiting the Marketplace.
On this page