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 to achieve this within a H5P book?

Content types: