Is there an official file extension for standalone Markdown files?
There is no requirement for a Markdown file extension. However to ensure editors or parsers recognise a file is Markdown-formatted, one of the following extensions would be checked for:
.md .mkd .mdwn .mdown .mdtxt .mdtext .markdown .text
There are websites such as GitHub that use subset of these extensions when converting to HTML so developers will conform to their standard.
Examples of extension usage:
Markdown isn't meant to take over the format of a file, it's a way to subtly add information to the plaintext. Really, the presence of Markdown is metadata, not a file format.
No one opening a text file will be confused if they find Markdown syntax, it's pure bonus. In this sense, it makes sense to use ".text", ".txt", or whatever other plaintext extension is relevant.
An editor which knows nothing about Markdown won't care about the metadata and won't be confused by the variety of "non-standard" extensions, but will display and edit the plaintext just fine.
iA Writer uses the extension .md for Markdown content.
Doxygen added Markdown support in v1.8. It looks for
.markdown file extensions.
In short, the answer is no.
If you are simply using markdown files as stand-alone files that will not be processed in any way, name them however you please. If you are using them in a system the processes them into HTML or PDF or some other format, then you need to figure out what file extensions that system expects for markdown files.
Also, in the context of a UNIX system, file extensions are not even mandatory. You could simply have a file called "README" in markdown format.