Ari Perkkiö
Ari Perkkiö
I have 0 experience of Nuxt, but the minimal reproduction seems to work when setting `components.global` to `false` in `nuxt.config.ts`. When it's set to `true`, coverage report is odd: What...
@eric-burel does https://github.com/stackblitz/tutorialkit/pull/219 solve this issue? You can easily open the current status of TutorialKit's code editor + template in StackBlitz by clicking the button on top bar.
This should now be doable with Webcontainer's `export` API: https://webcontainers.io/api#%E2%96%B8-export. I think the implementation for this will be very similar to "Open in Stackblitz"-button: https://github.com/stackblitz/tutorialkit/blob/0af384889f5a3e7e46ea4803b1b1a631c15d331f/packages/astro/src/default/components/OpenInStackblitzLink.tsx#L1-L37
Running into https://github.com/stackblitz/tutorialkit/issues/167 here too. When "Solve" is clicked, files from template are shown as empty. Only files in `_solution` are shown correctly. ~~Need to fix https://github.com/stackblitz/tutorialkit/issues/167 first.~~ ✅
Tested manually with https://github.com/AriPerkkio/tutorial-vite-plugin/pull/15 - the amount of removed duplicate files is a lot! As this changes quite a lot how editor's files are resolved, I think we should wait...
Good catch @hi-ogawa, I wasn't expecting this. Here's minimal reproduction without Tinypool demonstrating the fix from https://github.com/tinylibs/tinypool/pull/104. Happy to change the implementation if another approach is found: Intercept stdout of...
Yup that should work! It makes sense that TTY checks start to fail after changing the streams. Not sure why colors should be disabled when TTY is disabled though.
@sheremet-va what do you think about having `process.env.FORCE_TTY` here? https://github.com/tinylibs/tinyrainbow/blob/c8202ffc00d9f7f039ebdc2af52d08c6376fb6c0/src/index.ts#L83-L97 It could be used in cases like this, where main thread/process is TTY but spawned processes' streams aren't.
Does this layout look correct? https://stackblitz.com/~/edit/vitejs-vite-zhhoys?file=theme.css&file=src/content/tutorial/1-basics/1-introduction/1-welcome/content.md&terminal=dev Add a `theme.css` and define your styles there: ```css html { background-color: var(--tk-background-primary); } body { max-width: 600px; margin-inline: auto; } ``` ```yaml ---...
How about adding it directly into the `content.md` and not use `theme.css` at all? ```yaml --- type: lesson title: Welcome to TutorialKit editor: false previews: false terminal: false --- #...