Skip to content

Instantly share code, notes, and snippets.

@theotherdy
theotherdy / canvas-gist-embed.html
Last active October 5, 2018 11:35
Using gist-embed to embed GitHub gists nicely in instructure Canvas - see: https://learntech.imsu.ox.ac.uk/blog/embedding-a-github-gist-in-instructure-canvas/
<p>Text afore gist</p>
<p data-gist-id="572406dce62dc51f8dfd392f3458e7e7" data-gist-hide-footer="true">&nbsp;</p>
<p>Text after gist</p>
/* Note: laregly the same as Canvas's Dashboard styling */
.ou-ModuleCard{
box-sizing: border-box;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
border-radius: 6px;
overflow: hidden;
background: #fff;
width: 262px;
display: inline-block;
vertical-align: top;
/**
* This JavaScript file contains js to create a rh menu in Instructure Canvas
*
* @projectname OU Canvas Menu
* @version 0.1
* @author Damion Young
*
*/
/* Global variables */