General discussion

Add code snippet text as interactive content

Hi,

I would like to add code snippet highlighting as interactive content to H5P.

That functionality is derived from highlight.js .

That would be similar to what ckeditor does with code snippet and highlight.js where it searches for the tags <pre><code>.......</pre></code> and highlights whatever is inside them.

So when a user adds content to drupal in the dropdown list there is a "code snippet" entry.

Pages