13 # key -> { mimetype, extension} |
13 # key -> { mimetype, extension} |
14 's5' : {}, |
14 's5' : {}, |
15 'pdf' : {'mimetype': 'application/pdf', 'extension':'pdf'}, |
15 'pdf' : {'mimetype': 'application/pdf', 'extension':'pdf'}, |
16 'markdown' : {'mimetype': 'text/plain', 'extension':'mkd'}, |
16 'markdown' : {'mimetype': 'text/plain', 'extension':'mkd'}, |
17 'odt' : {'mimetype': 'application/vnd.oasis.opendocument.text', 'extension':'odt'}, |
17 'odt' : {'mimetype': 'application/vnd.oasis.opendocument.text', 'extension':'odt'}, |
|
18 'doc' : {'mimetype': 'application/msword', 'extension':'doc'}, |
|
19 'docx' : {'mimetype': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'extension':'docx'}, |
18 'latex' :{'mimetype': 'text/x-tex', 'extension':'tex'}, |
20 'latex' :{'mimetype': 'text/x-tex', 'extension':'tex'}, |
19 'html' :{'mimetype': 'text/html', 'extension':'html'}, |
21 'html' :{'mimetype': 'text/html', 'extension':'html'}, |
20 # raw export |
22 # raw export |
21 'raw' : {'mimetype': 'text/plain', 'extension':'txt'} |
23 'raw' : {'mimetype': 'text/plain', 'extension':'txt'} |
22 } |
24 } |
141 # key -> [ download?, mimetype, extension] |
143 # key -> [ download?, mimetype, extension] |
142 's5' : [False , ], |
144 's5' : [False , ], |
143 'pdf' : [True , 'application/pdf' , 'pdf'], |
145 'pdf' : [True , 'application/pdf' , 'pdf'], |
144 'markdown' : [True , 'text/plain' , 'mkd'], |
146 'markdown' : [True , 'text/plain' , 'mkd'], |
145 'odt' : [True , 'application/vnd.oasis.opendocument.text', 'odt'], |
147 'odt' : [True , 'application/vnd.oasis.opendocument.text', 'odt'], |
|
148 'doc' : [True , 'application/msword', 'odt'], |
|
149 'docx' : [True , 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'docx'], |
146 'latex' :[True , 'text/x-tex', 'tex'], |
150 'latex' :[True , 'text/x-tex', 'tex'], |
147 'html' :[True , 'text/html', 'html'], |
151 'html' :[True , 'text/html', 'html'], |
148 # raw export |
152 # raw export |
149 'raw' : [True, 'text/plain', 'txt'] |
153 'raw' : [True, 'text/plain', 'txt'] |
150 } |
154 } |