wallabyjs / quokka

Repository for Quokka.js questions and issues
https://quokkajs.com
1.18k stars 31 forks source link

Feature Request - More control over what to show in code clip #858

Open benthomasknight opened 1 year ago

benthomasknight commented 1 year ago

First off this is a feature request.

What I want to do is embed code clip into a blog post. Given that it may be shown on small screens I would like to limit what is displayed to a user be default - and set better font sizes/output sizes for my code.

I would like an option to only show the code and output sections by default, the height of the output terminal at the bottom, and set the font size to something a lot smaller (12px) as there is a fair bit of code to show in my example. Currently this appears to be done per user rather than per clip.

As a side note, it seems that due to cookie usage embedding codeclip in a page does not work (3rd party cookies). Is there a better way to embed the page that does not use cookies?

Current

Squishy-Code-Clip

Preferred

Better-Spacing-CodeClip