QwikDev / qwik

Instant-loading web apps, without effort
https://qwik.dev
MIT License
20.87k stars 1.31k forks source link

fix(qwik-city): allow qwik to process .mdx files #6988

Open wmertens opened 1 month ago

wmertens commented 1 month ago

this allows embedded qrl functionality.

This may or may not be a good idea.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 0d7b755eb7fe6fa1941dc64ce33c7528a15097f1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages | Name | Type | | --------------------- | ----- | | @builder.io/qwik-city | Patch | | eslint-plugin-qwik | Patch | | @builder.io/qwik | Patch | | create-qwik | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

pkg-pr-new[bot] commented 1 month ago

Open in Stackblitz

npm i https://pkg.pr.new/@builder.io/qwik@6988
npm i https://pkg.pr.new/@builder.io/qwik-city@6988
npm i https://pkg.pr.new/eslint-plugin-qwik@6988
npm i https://pkg.pr.new/create-qwik@6988

commit: 0d7b755

shairez commented 1 month ago

@wmertens can you elaborate on it a bit? We can already embed Qwik components in mdx files no?

thejackshelton commented 1 month ago

@wmertens can you elaborate on it a bit? We can already embed Qwik components in mdx files no?

@shairez

This might be related to the session wout and I paired on, where specifically in Qwik UI MDX breaks in v2 because of the specific recma config, which has a qrl in the mdx.

e.g what allows us to do the custom styling for each mdx tag (blockquote, paragraph, etc.)