 name always end in <code>Plugin.php</code>. Do not add any namespace to your plugin classes.</p>

<p>The following example shows a plugin that modifies the contents of the book before and after its conversion. First, the plugin modifies the original Markdown content to put in bold all occurrences of the word <em>easybook</em>. Then, it modifies the HTML content to add a <code>class</code> attribute to all these occurrences:</p>

<div class="code code">
<pre class="code">&lt;?php
use Symfony\Component\Event