Access Keys:
Skip to content (Access Key - 0)
Home (Access Key - 1)
All spaces... (Access Key - 3)
Log in (Access Key - 5)
Sign up (Access Key - 6)
Toggle Sidebar

highlight macro


{highlight} Macro

Examples

Hints and Tips

Alternate background colours can be used to highlight important information on a page by drawing the visitors attention to it due to the unusual colour.

When changing background colour, please try and keep a contrast between the text and the background so that it is still clearly readable. For example, in our example above, the slate blue background made the black text barely readable.

Frequently Asked Questions

Q I'm annotating revisions to text - is there a quicker way to mark inserted and deleted text?
A Yes. See Basic Text Formatting.
Q Can I highlight an entire block of content?
A Yes. Use the bgcolor macro.
Q I'm using hexadecimal codes, but they are not working - why?
A Unlike the color macro, this macro requires that you include the "#" at the start of the number.
Q Where can I get HTML text colour codes from?
A WebMonkey has a good colour code reference page that shows each of the standard colours with the corresponding colour code. If you want a groovy wall chart with colour codes, try http://html-color-codes.com/.
Q Some colour names, such as "grey", don't seem to work in all browsers - why?
A Colour names are supported differently by different browsers. To be 100% sure of getting the right colour, use the hexadecimal colour code instead.
Q How do I change the colour of text?
A Use the color macro.
Q How do I change the default background colour of my page, etc?
A If you are using a standard theme, there are some limited options to change colours. If you are using the Builder theme, you have complete control over all colours using [USERGUIDE:Custom CSS Styles].
Q Can I put a graphic in the background?
A Yes. The span macro and style macro allow you to apply far more formatting to your content.
Toggle Sidebar
Adaptavist Theme Builder Powered by Atlassian Confluence