stackblitz / tutorialkit

TutorialKit by StackBlitz - Create interactive tutorials powered by the WebContainer API
https://tutorialkit.dev
MIT License
503 stars 48 forks source link

Lessons with only the terminal and no browser #396

Closed noam-honig closed 3 weeks ago

noam-honig commented 3 weeks ago

Is your feature request related to a problem?

Some of the lessons in my tutorial are about unit testing, where I do not need a ui - everything happens in the terminal

Describe the solution you'd like.

It'll be great if I could set preview false and terminal open so that'll the configuration for that lesson

Describe alternatives you've considered.

I wrote an instruction for the student to open the terminal and make the preview as small as possible - it's not so cool, as it keeps showing the progress indicator of server starting - here it is in my tutorial: image

You can try it yourself at: https://learn.remult.dev/in-depth/9-testing/1-introduction

Additional context

No response

AriPerkkio commented 3 weeks ago

You can do this already. Here's live example and sources for it:

noam-honig commented 3 weeks ago

Thanks - appreceate your support