DEV Community

loading...

Embedding Glitch in App-Only Mode?

bennypowers profile image Benny Powers 🇮🇱🇨🇦 ・1 min read

The help docs explain embedding Glitch simply and easily like so:

{% glitch flavoured-mackerel %}
Enter fullscreen mode Exit fullscreen mode

(yes, I came up with that glitch slug myself)

That will embed an app in both mode, showing both code and output:

Example of three-pane default glitch embed layout with files in the left hand pane, code in the centre, and app output in the right

My question: Can I embed a glitch app in app-only or code-only mode, instead of the default both mode?

Discussion

pic
Editor guide
Collapse
rhymes profile image
rhymes

According to the embed guide you can glitch.com/help/how-can-i-customiz...

embed app

but it's not supported by dev.to's code yet:

github.com/thepracticaldev/dev.to/...

Collapse
bennypowers profile image
Collapse
rhymes profile image
Thread Thread
ben profile image
Ben Halpern

Merged! Going through CI into prod now. Great outcome everybody!

Thread Thread
rhymes profile image
rhymes

I think there's a bug somewhere, because now if I try to embed this:

glitch.com/edit/#!/familiar-violet

with {% glitch familiar-violet %} or {% glitch familiar-violet app %} I get the 404 page

glitches

a glitch indeed :P

Thread Thread
bennypowers profile image
Thread Thread
rhymes profile image
rhymes

I found the bug, I'm writing the patch :)

Thread Thread