Add a Glitch embed

Published on

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;
}

Published on Improve article

This site uses cookies to deliver and enhance the quality of its services and to analyze traffic. If you agree, cookies are also used to serve advertising and to personalize the content and advertisements that you see. Learn more about our use of cookies.