Skip to main content

Using Markup Language on Text Layers in Abyssale

Customize text styling in Abyssale with markup tags to color, underline, resize, or apply font effects on specific parts of your text.

Guillaume Stigliani avatar
Written by Guillaume Stigliani
Updated today

Abyssale allows you to apply advanced styling to specific parts of your text layers using a custom markup language. This system resembles HTML tags, but it’s purpose-built for design flexibility inside Abyssale templates.

⚠️ Important: If a text layer includes markup tags, those tags will override the global decoration settings applied to the entire layer. In other words, markups take priority and deactivate any default layer-wide decoration (like global underline or font color). If you want to apply a style globally, use the layer's main text properties.

Note: Markup language is not supported inside the design editor. To style or decorate text within the editor, please use the property panel instead.


Available Markups and Syntax

1. Text Color

Apply a color to part of the text.

<c=#FF0000>Your colored text</c>
  • Replace #FF0000 with any 6-digit or 8-digit hex code.

Example:
<c=#FF0000>Lorem Ipsum</c> is simply dummy text


2. Font Weight

Change the font weight locally.

<w=700>Bold text</w>
  • Accepted values: 100 (thin) to 900 (heavy) depending on what weight are available for the font used

  • Fallbacks to current weight if unsupported by the font

Example:

​<w=900>Lorem Ipsum</w> is simply dummy text


3. Underline

Underline a portion of the text:

<u>Underlined text</u> 

With colored underline:

<u=#00FF00>Green underline</u>


4. Strikethrough

Apply a standard strikethrough.

<s>Strikethrough text</s> 

With colored strikethrough:

<s=#FF0000>Red strikethrough</s>


5. Diagonal Strikethrough

Apply a standard diagonal line.

<d>Diagonal strike</d> 

With colored diagonal line:

<d=#FF0000>Red diagonal strike</d>


6. Background Color

Apply a background color behind part of your text.

<bg=#f6aeb8>Highlighted text</bg>
  • Background padding is handled by the layer’s background_padding property.


7. Font Size

⚠️ Important: If you apply a different font size to only part of the text, Auto-resize on the layer will no longer work. Be cautious when using mixed font sizes, as this disables Auto-resize for the entire layer.

Alter the size of text dynamically.

<f=60%>Smaller text</f> <f=120>Absolute pixel size</f>
  • Use percentage to scale from the current size

  • Use number for absolute pixel value

Example:

​Lorem <f=60%>ipsum</f> is simply dummy text


8. Superscript & Subscript

Align text above the baseline.

<sup>Superscript</sup>

Align text below the baseline.

<sub>Subscript</sub>


9. kerning

You can apply kerning to a specific part of your text using markup language by wrapping the targeted characters with the <k> tag and specifying the value :

<k=10%>kerning</k>

Example:

€11<k=-21%>.</k><sup>99</99>

Color structure

You can use:


Can I combine markups?

Yes. Markups can be nested or applied in combination.
Example:

<u=#FF0000><w=700><bg=#FFFF00>Important</bg></w></u>

This would create a red underlined, bold, yellow-highlighted "Important" text.


Best Practices

  • Markups always prevail over default text decorations defined at the layer level.

  • Only use markups if you need to style parts of the text. If your goal is to style the entire text layer consistently, use the layer's global properties instead.

  • Avoid excessive nesting for clarity and performance.

  • Test rendering in preview to ensure compatibility across fonts.

By using markup language wisely, you gain precise control over how specific words or phrases appear, enhancing both flexibility and visual impact in your generated visuals.

Did this answer your question?