Commit 71601a7c authored by Georg Ehrke's avatar Georg Ehrke
Browse files

implement previews for markdown

parent e28f7f8a
......@@ -60,3 +60,13 @@ class TXT extends Provider {
}
\OC\Preview::registerProvider('OC\Preview\TXT');
class MarkDown extends TXT {
public function getMimeType() {
return '/text\/x-markdown/';
}
}
\OC\Preview::registerProvider('OC\Preview\MarkDown');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment