Title: Adding extra tag like
Last modified: April 4, 2018

---

# Adding extra tag like

 *  Resolved [aryanrajseo](https://wordpress.org/support/users/aryanrajseo/)
 * (@aryanrajseo)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/adding-extra-tag-like/)
 * Hi, I would like to add ` tag after pre class like
 *     ```
       <pre class="EnlighterJSRAW"><code>
       Here is the PHP/CS/HTML content 
       ```
   
 * Why is it not added by default?
    -  This topic was modified 8 years, 2 months ago by [aryanrajseo](https://wordpress.org/support/users/aryanrajseo/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * (@andi-dittrich)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/adding-extra-tag-like/#post-10147347)
 * Hi aryanrajseo,
    why would you do this ? the `pre` container is only a wrapper
   which holds the content to highlight. the highlighting itself is done via EnlighterJS
   which hides the `pre` container.
 * best regards, Andi
 *  Thread Starter [aryanrajseo](https://wordpress.org/support/users/aryanrajseo/)
 * (@aryanrajseo)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/adding-extra-tag-like/#post-10148092)
 * I am using Clipboard.js to add a copy option which adds a svg copy icon to give
   an option to copy the code. `<pre><code>This is code. Copy this.</code></pre>`
 * clipboard works only when code is under `<code></code>` but when i add this after
   EnlighterJS pre tag it adds the svg icon as CODE and not the icon. Do you have
   any plan to add a clipboard in it?
 *  Plugin Author [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * (@andi-dittrich)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/adding-extra-tag-like/#post-10149352)
 * this is the intended behaviour – everything within the `<pre>` block is marked
   to be highlighted. you can re-configure clipboard.js to work with other html 
   elements but its difficult to integrate because you may have to change EnligterJS
   codebase.
 * copy-to-clipboard is a requested feature (projected for EnlighterJS 3.1/3.2) 
   using the new Clipboard API
 *  Thread Starter [aryanrajseo](https://wordpress.org/support/users/aryanrajseo/)
 * (@aryanrajseo)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/adding-extra-tag-like/#post-10153212)
 * Thanks a lot for adding this feature in the upcoming version.
 * Thanks for your hard work.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Adding extra tag like’ is closed to new replies.

 * ![](https://ps.w.org/enlighter/assets/icon-256x256.png?rev=1215872)
 * [Enlighter - Customizable Syntax Highlighter](https://wordpress.org/plugins/enlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/enlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enlighter/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [aryanrajseo](https://wordpress.org/support/users/aryanrajseo/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/adding-extra-tag-like/#post-10153212)
 * Status: resolved