/**
 * Set Span element bold style.
 *
 * @return self Returns instance of the Span element class.
 *
 * @access public
 */
public function bold(): self

Examples

Set bold style using fluent interface

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('Stay RAD!')->bold()
);

Set bold style using magic classes pipeline

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('Stay RAD!', 'bold')
);

Set bold style using shortcodes

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('[bold]Stay RAD![/bold]').
  span('[b]Stay RAD![/b]')
);
Terminal
$ php thermage.php
Stay RAD!