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

Examples

Set italic style using fluent interface

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

// ...

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

Set italic style using magic classes pipeline

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

// ...

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

Set italic style using shortcodes

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

// ...

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