Skip to content
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

Mdx files not being recognized #79

Closed
1 task done
zanhk opened this issue Nov 26, 2023 · 3 comments
Closed
1 task done

Mdx files not being recognized #79

zanhk opened this issue Nov 26, 2023 · 3 comments

Comments

@zanhk
Copy link

zanhk commented Nov 26, 2023

Sveltia info

Sveltia 0.8.4

Problem

In decap cms when I set the options

format: "frontmatter"
extension: "mdx"

I m able to see mdx files as well

image

With Sveltia instead I don't see any post

image

If I create a new post from the ui I immediatly see the post after being created

image

And it create the correct files

image

But after clearing the cache and refreshing the page the post disappear

image

image

Repo: https://github.com/zankhq/astro-starter

What's the expected result?

To see post with mdx extension

Participation

  • I am willing to submit a pull request for this issue.
@kyoshino
Copy link
Member

Because mdx is not a supported extension. Not sure why those files are displayed in Decap CMS, but MDX files are not supported anyway. See:

@kyoshino kyoshino closed this as not planned Won't fix, can't repro, duplicate, stale Nov 26, 2023
@zanhk
Copy link
Author

zanhk commented Nov 26, 2023

Ok

@deployn
Copy link

deployn commented Nov 26, 2023

Edit: This was wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants