-
-
Notifications
You must be signed in to change notification settings - Fork 548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please add mdx support #131
Comments
Hi @diomed, Astro has really decent documentation. Just follow the steps here: https://docs.astro.build/en/guides/integrations-guide/mdx/ and you should be good to go. EDIT: Ok, I didn't check your link. I'm linking the same stuff. Do you have trouble integrating the MDX? |
unsure why it wouldnt come out of the box |
@diomed Hmm, perhaps MDX might be an overkill if you want a simple blog with just text + images. Especially when Astro supports MD images optimization. Maybe that was the initial idea. Let's wait for the @satnaing to respond. To be clear, I'm with you when it comes to using MDX. Is some contexts, MD is too limited. |
@fchrapek hey , are you on Discord? |
@diomed nope |
Just like @fchrapek mentioned, I think it is a little bit overkill for average users who simply want to display content in their blog posts. However, there are two options to address this issue:
What do you think? |
you could replace old blog post for forestry cms with this one, since forestry doesnt exist anymore. unless it's just updatable for tina cms ¯_(ツ)_/¯ |
Agreed that it's nice to have astro-paper lean, yet extendable via integrations already built for astro. |
I tried adding MDX following astro docs, but it only renders components in some builds processes. it looks like some kind of race condition to me. |
MDX allows you to use variables, JSX expressions and components within Markdown content in Astro.
More on it:
https://github.com/withastro/astro/tree/main/packages/integrations/mdx#why-mdx
The text was updated successfully, but these errors were encountered: