How to create and delete files

1 Like

I’m trying to add PDF files to my markdown file, but it seems the RemarkCreatorPlugin only allows (png, jpg, gif)

how can I handle other file types?

Hi there! The RemarkCreatorPlugin will only create new Markdown files. It sounds like you’re trying to upload a pdf through a field? Or linking to it via a frontmatter value?

Yes.
Is it not possible? What do I need to create?

I’m not sure if we’d want to use the media manager for that type of file or create a separate ‘file upload’ type plugin. @ncphi - thoughts?

Hey @philipsaa the Image upload component is what restricts what is accepted. This field is only meant to be an image upload field. I think it’s definitely a good idea to provide a more general File Upload field though so I’ve created a GitHub issue