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

Examples

Set strikethrough style using fluent interface

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

// ...

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

Set strikethrough style using magic classes pipeline

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

// ...

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

Set strikethrough style using shortcodes

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

// ...

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