Mutations


Usage

use BinaryTorch\PhpDown\Mutations;

$mutations = Mutations::make('Hello');

echo $mutations->strike()->render();
echo $mutations->bold()->render();
echo $mutations->italic()->render();
echo $mutations->inlineCode()->render();
echo $mutations->mark()->render();

Output:

~~Hello~~
**Hello**
*Hello*
`Hello`
<mark>Hello</mark>