diff -r 340d4ef55b6f -r 8c2c6fdd8d56 web/formfields.py --- a/web/formfields.py Thu Oct 23 14:57:02 2014 +0200 +++ b/web/formfields.py Wed Apr 30 21:04:14 2014 +0200 @@ -779,11 +779,13 @@ actually contains some text. If the stream format is one of text/plain, text/html, text/rest, + text/markdown then a :class:`~cubicweb.web.formwidgets.TextArea` will be additionaly displayed, allowing to directly the file's content when desired, instead of choosing a file from user's file system. """ - editable_formats = ('text/plain', 'text/html', 'text/rest') + editable_formats = ( + 'text/plain', 'text/html', 'text/rest', 'text/markdown') def render(self, form, renderer): wdgs = [super(EditableFileField, self).render(form, renderer)]