Help integrating codemirror editor in Wordpress website

Hi, I am looking for some tutorial/instructions on how to integrate codemirror editor in wordpress blog post.

I have few tutorials in python and would like to integrate codemirror to demonstrate various examples.

Can somebody please help me with this? I am not an expert in JS but have CS background and can fairly pickup if the instructions are clear.