<< Go Commands << Go Home

Command @title

Description:

Inserts a title in a page.
 
Warning: command only works inside a .tg9 file.

Syntax:

@title
@@text
@@color
@@size
@end_title

Parameters:

Param @@text
description: title text
options:
default: "Title"
optional: yes
 
Param @@color
description: title color
options:
default: gray
optional: yes
Param @@size
description: title color
options: px, rem
default: 2.0em
optional: yes
Obs: parameters can be put in any line order

Example:

1 @title
2 @@size 20
3 @@color red
4 @@text This is a warning
5 @end_title

Output:

This is a warning