Skip to content

Highlights

Kx Markdown can highlight text using named highlight tags.

Four highlight colors are currently supported:

[pink]Pink highlight[/pink]
[yellow]Yellow highlight[/yellow]
[green]Green highlight[/green]
[blue]Blue highlight[/blue]

A highlight has an opening tag, some content, and a closing tag.

[yellow]Important information[/yellow]

The opening and closing color names must match.

[context]
You are at a **busy café** in Madrid.
You have already ordered *coffee and breakfast*.
[yellow]Ask the cashier how much you owe.[/yellow]
[/context]

Highlights can contain other supported inline formatting.

[yellow]Remember this **important rule**.[/yellow]

Likewise, supported inline formatting can be combined to emphasize parts of instructional context.

[pink]...[/pink]
[yellow]...[/yellow]
[green]...[/green]
[blue]...[/blue]

Highlights are intended to draw attention to important instructions, distinctions, reminders, or other information within context.