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

Examples

Set bold style using fluent interface

use function Thermage\anchor;
use function Thermage\render;

// ...

render(
  anchor('Thermage')->href('https://awilum.github.io/thermage/')->bold()
);

Set bold style using magic classes pipeline

use function Thermage\anchor;
use function Thermage\render;

// ...

render(
  anchor('Thermage', 'bold')->href('https://awilum.github.io/thermage/')
);

Set bold style using shortcodes

use function Thermage\anchor;
use function Thermage\render;

// ...

render(
  anchor('[bold]Thermage[/bold]')->href('https://awilum.github.io/thermage/').
  anchor('[b]Thermage[/b]')->href('https://awilum.github.io/thermage/')
);
Terminal
$ php thermage.php