BBMarkup

If you liked this item, please rate it up on Steam Workshop page.

Author: SurferJay

Last revision: 17 Sep, 2025 at 03:05 UTC

File size: 754.76 KB

On Steam Workshop

Description:

BBMarkup
Bring text to life.

Released as a utility of the popular Advent Angels – Steam Workshop mod, split for public use.


✦ Overview

BBMarkup adds support for BBCode-style text formatting inside XCOM 2’s UI.
Mod authors can now more easily style in-game text with expressive tags and make menus, guides, and messages easy to read — and eye-catching.


✦ Features

Important: In the section below, [] brackets are replaced with {} to prevent being rendered out.

  • Easy Localization → Store whole pages in localization files & parse with RenderLocalized.
  • Inline Documentation → Supported tags documented in readme file.
  • Bold & Underline → {b}text{/b}, {u}text{/u}
  • Colors → {color=orange}alert{/color}
  • Lists → {list} {*} First {*} Second {/list}
  • Horizontal Rules → {hr;char=-;count=40}
  • Nesting support → {u}{color=red}Warning!{/color}{/u}
  • Ghost tags ignored safely (typos won’t crash anything)
  • Lightweight & universal → no core game assets overwritten
  • MCM ready → perfect for mod configuration menus and inline guides


✦ Example
Mission Status: [color=green]SUCCESS[/color] Loot Secured: 3x Elerium Cores

Renders as: (Steam does not support color any longer)
Mission Status: SUCCESS
Loot Secured: 3x Elerium Cores


✦ Intended Use
  • Mod Authors: Easily build stylish popups, MCM guides, and immersive UI.


✦ Compatibility
  • Works with vanilla and WOTC.
  • Safe to add or remove mid-campaign.
  • Should play nice with any mod that renders UI text normally.