src/Ciconia/Extension/Gfm/InlineStyleExtension.php
public function processStrikeThrough(Text $text)
    {
        /** @noinspection PhpUnusedParameterInspection */
        $text->replace('{ (~~) (?=\S) (.+?) (?<=\S) \1 }sx', function (Text $w, Text $a, Text $target) {
            return $this->getRenderer()->renderTag('del', $target, Tag::TYPE_INLINE);
        });
    }
public function processStrikeThrough(Text $text)
    {
        /** @noinspection PhpUnusedParameterInspection */
        $text->replace('{ (~~) (?=\S) (.+?) (?<=\S) \1 }sx', function (Text $w, Text $a, Text $target) {
            return $this->getRenderer()->renderTag('del', $target, Tag::TYPE_INLINE);
        });
    }
public function processStrikeThrough ( Text $ text ) { /** @noinspection PhpUnusedParameterInspection */ $ text -> replace ( '{ (~~) (?=\S) (.+?) (?<=\S) \1 }sx' , function ( Text $ w , Text $ a , Text $ target ) { return $ this -> getRenderer ( ) -> renderTag ( 'del' , $ target , Tag :: TYPE_INLINE ) ; } ) ; }
Strike-through `~~word~~` to `<del>word</del>`

@param Text $text
Strike - through ~~word~~ to <del > word< / del >