Skip to main content
Skip table of contents

Style Text

On the Styles tab, you can define how text will be formatted in exports. You can style both text exported from Confluence pages, as well as static text that you manually add to the content boxes in your template.

Style Text Exported from Confluence Pages

In the ParagraphsList, Tables, and Table of Contents section on the left of the editor, you can define default text styles which directly correspond to all categories of text in Confluence pages. When you export Confluence content, it will be styled in accordance with the styles configured on this screen. For example, if you change the Heading 2 style's color to red, all heading 2 text exported from Confluence will be red. It also remains possible to apply styling to heading levels greater than heading level 6 - you can read more here

In the section Paragraphs > Nested heading 1-6, you can define default styles for headings levels that are placed within Confluence tables, Panel macros and admonitions (e.g. Note, Warning and Info macros). Furthermore, heading levels that are generated by specific macros, like the Recently Updated macro, can also be styled in this section of the editor. Nested Headings are excluded from the generated table of contents and are not associated with heading numbering. Please note, for heading level content that is simply nested in the Scroll Only macro or Include / Excerpt macros (and not nested within any other element in these macros) this content will be treated as a "normal" heading level style and not a nested level style.

Heading levels not styled as expected?

Have you found that the styles set in the export template are not being applied as expected to the heading content in the generated export? If so, this could be due to a number of reasons, including hidden formatting in the page storage format overriding the template style or heading text being treated as a Nested heading (see above). However, it could also be due to the way in which our Scroll Exporter apps handle heading levels in order to create a sensible hierarchy and structure in the export → this involves heading promotion, meaning a heading level 6 on a page can be treated as a heading level 1 in the export. To learn more about this behaviour please see our related documentation.

Style the Static Text in your Template

You can also create new custom styles at Paragraphs +. Custom styles are not used to format content you export from Confluence – they are only used to style static text you manually add to the content boxes in your template. By default, the template editor includes two custom styles (Small Text Unnumbered Heading) which can be edited, copied or deleted. 

Modify Styles

In the middle of the template editor, the Preview shows you how your style looks, and automatically updates as you make edits. Both custom and default styles can be modified in a number of ways – you can change the following properties:

CategoryPropertyDescription
FontFont
  • Select a font from the available  bundled fonts, or upload a custom font
Style
  • Define a style for the font
    • Choose from Light/Regular/Bold, Italics & Underlined

Size (pt)

  • Choose a font size in points unit (pt)
Color
  • Apply a specific color to your font
    • #HEX, RGB and HSL color codes are supported
Case
  • Decide whether the text style is Capitalised, UPPERCASE or lowercase
Line Height (%)
  • Define the height of text lines. If set to 100%, the line will the exact same height as the font itself.
Section



Alignment
  • Select whether the style has alignment left, centre, right or justified applied

Page break before

  • Choose if there should be a page break before text of this style
    • Page breaks can be set to occur for the Next page or the Next odd page
Background color
  • When the checkbox is selected, the style can have a background color
Margin (pt)
  • Set the margin distance in points unit (pt) for the specific style

Padding (pt)

  • Add padding in points unit (pt) for the specific style
Leader
  • For ToC style only: choose the leader style for the ToC level
Indentation
  • For ToC style only: define the indentation for the ToC level
BorderTop/Bottom/Left/Right
  • Choose the correct direction for the section of the border that will be customized
Type
  • Define whether the border type is solid, dotted, or dashed
Strength (pt)
  • Define the line strength in points unit (pt) for the border
Border Radius (pt)
  • Modify the line curvature for the border section
Color
  • Set a color for the border section
    • #HEX, RGB and HSL color codes are supported

Level options

(lists only)

Level 1- 6
  • Choose the specific list level that requires formatting
Level style
  • Select the style for the chosen list level
    • Style options include; Numerical, Roman numerals (uppercase/lowercase), Alphabetical (uppercase/lowercase)
Margins (pt)
  • Set the margin distance in points unit for the selected level
Indent (pt)
  • Define the indentation in points unit (pt) for the selected list level

Numbering

(headings only)

Level style
  • Select the numbering style for the heading level
    • Style options include; Numerical, Roman numerals (uppercase/lowercase), Alphabetical (uppercase/lowercase)
Level format
  • Specify whether to display all numbered levels or only the current level for a heading
Indentation
  • Define the indentation in points unit (pt) before and after the numbering for a heading
Prefix
  • Add a prefix to the heading level
Suffix
  • Add a suffix to the heading level

Add Custom Fonts

You require space admin permissions to add custom fonts to a template. When you add a custom font to a template, it is available for all styles in that template.

Add a custom font by clicking Font > Manage custom fonts. You can upload fonts in either .ttf.ttc, or .otf formats. The template editor supports the following font weights:

  • Extra Light
  • Light
  • Normal
  • Medium
  • Semi-bold
  • Bold
  • Extra-bold
  • Heavy

Revert to the Last Saved Version of the Template

If you make changes to a template which you are unhappy with, you can easily return to the last saved version of the template by selecting the revert option:


Once you have selected revert, you can confirm that you wish to revert all unsaved changes in the template to the last saved state. Alternatively, you can also simply revert the changes for a particular style from the respective ••• icon:

Next Steps

Now you have styled your text, you can define the structure of your template – and fine-tune the design – on the 'Document Sections' tab.



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.