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

Extend mime types support #1160

Closed
glpatcern opened this issue Sep 11, 2020 · 2 comments
Closed

Extend mime types support #1160

glpatcern opened this issue Sep 11, 2020 · 2 comments
Assignees

Comments

@glpatcern
Copy link
Member

The pkg/mime/mime.go code needs to be extended in order to allow the "registration" of new mime types from the configuration.

This is useful so to associate those new mime types to app providers. The first use-case at hand will be a application/compressed-markdown to be mapped to the .zmd extension, which is (going to be) supported by CodiMD.

@glpatcern
Copy link
Member Author

glpatcern commented Oct 1, 2020

Depends on #1212
Edit: will go for a different approach, #1233 will fix this.

@glpatcern glpatcern self-assigned this Oct 8, 2020
@glpatcern
Copy link
Member Author

Fixed by #1233

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

1 participant