Inserting code blocks in H5P Books

I am trying to build a H5P book that allows for Python code to be copied by learners. Does anyone have any advice or experience of how toinclude a codeblock within a H5P book?

Content types: