text/x-crystal

Crystal source code

DescriptionCrystal source code
File extensions.cr
Aliasestext/crystal
Based ontext/plain

Frequently asked questions

What is the MIME type text/x-crystal?

text/x-crystal denotes “Crystal source code”.

Which file extension does text/x-crystal use?

Files of type text/x-crystal usually end in .cr.

How does a web server serve text/x-crystal correctly?

With the header Content-Type: text/x-crystal. In nginx: types { text/x-crystal cr; }; in Apache: AddType text/x-crystal .cr.

Are there other names for text/x-crystal?

Yes, text/crystal are used as equivalents.

Nearby entries