text/x-elixir
Elixir source code
| Description | Elixir source code |
|---|---|
| File extensions | .ex, .exs |
| Based on | text/plain |
Frequently asked questions
What is the MIME type text/x-elixir?
text/x-elixir denotes “Elixir source code”.
Which file extension does text/x-elixir use?
Files of type text/x-elixir usually end in .ex and .exs.
How does a web server serve text/x-elixir correctly?
With the header Content-Type: text/x-elixir. In nginx: types { text/x-elixir ex exs; }; in Apache: AddType text/x-elixir .ex .exs.