Add a Glitch embed
Add a Glitch Embed
To add an Glitch embed to a post you can use a custom shortcode which optimizes Glitch embeds on the site.
{% Glitch
id='fav-kitties-compress-starter'
%}
The Glitch embed shortcode supports additional properties though. Below is an example interface of the accepted argument:
interface GlitchArgs {
allow?: string | string[];
height?: number;
id: string;
path?: string;
previewSize?: number;
}