-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Define and use media types for Hugo's content formats #12485
Comments
Closes gohugoio#12427 Closes gohugoio#12485
Will this have any effect on the
|
... but we do ... The common case is to resolve this from the file extension (e.g. |
If you want to render an asciidoc string any of these work:
So I guess you can specify any of the associated extensions, but will that be true if users can add/remove extensions? |
Closes gohugoio#12427 Closes gohugoio#12485
If people want to shoot themselves in the foot, they can break constructs ala
By redefining the My main goal moving this into the "media type" setup was to get away from the global hard coded setup ( But we can certainly start documenting this to say that |
Your media types doesn't match my table above. |
Corrected. Didn't catch the change. |
Thinking about this, if we made the media types look like:
Most of these does not have official MIME types, and you're supposed to prefix them with That way the identifier would be the MIME sub type, e.g.: |
Works for me. |
Closes gohugoio#12427 Closes gohugoio#12485
Closes gohugoio#12427 Closes gohugoio#12485
Closes gohugoio#12427 Closes gohugoio#12485
Closes gohugoio#12427 Closes gohugoio#12485
Closes gohugoio#12427 Closes gohugoio#12485 Closes gohugoio#6310 Closes gohugoio#5074
Closes gohugoio#12427 Closes gohugoio#12485 Closes gohugoio#6310 Closes gohugoio#5074
Closes gohugoio#12427 Closes gohugoio#12485 Closes gohugoio#6310 Closes gohugoio#5074
Closes gohugoio#12427 Closes gohugoio#12485 Closes gohugoio#6310 Closes gohugoio#5074
Closes gohugoio#12427 Closes gohugoio#12485 Closes gohugoio#6310 Closes gohugoio#5074
Closes gohugoio#12427 Closes gohugoio#12485 Closes gohugoio#6310 Closes gohugoio#5074
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This is defined/implemented in #12440 -- but I'll create an issue for visibility.
It will be possible to redefine these (add/edit/remove extensions).
The text was updated successfully, but these errors were encountered: