webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

astro docs edit in web publisher doesn't run

Open o-az opened this issue 7 months ago • 4 comments

Describe the bug

following the Web Publisher docs here: https://developer.stackblitz.com/codeflow/content-updates-with-web-publisher#edit-this-page-on-github-link

I clicked on the edit page at the bottom of this page: https://docs.astro.build/en/basics/layouts/

then I replaced github.com with pr.new which launched a Web Publisher markdown editing page. However, I couldn't get it to run as it ket failing right away and the error are half blocked by the layout:

image

here's the exact web publisher editing page where I'm facing this error:

https://stackblitz.com/~/github.com/withastro/docs/edit/main/src/content/docs/en/basics/layouts.mdx?view=preview

Link to the blitz that caused the error

https://stackblitz.com/~/github.com/withastro/docs/edit/main/src/content/docs/en/basics/layouts.mdx?view=preview

Steps to reproduce

I clicked on the edit page at the bottom of this page: https://docs.astro.build/en/basics/layouts/

then I replaced github.com with pr.new which launched a Web Publisher markdown editing page. However, I couldn't get it to run as it ket failing right away and the error are half blocked by the layout

Expected behavior

should run and render markdown

Parity with Local

Screenshots

No response

Platform

  • OS: macOS and Safari iOS
  • Browser: Safari, Chromium Brave [e.g. Chrome, Safari, Firefox]

Additional context

No response

o-az avatar Jul 05 '24 15:07 o-az