Check out the codepen module for embedding code samples. https://www.drupal.org/project/codepen Project Code Sample Tags #Code