mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
unify markdown mime to text/x-markdown
This commit is contained in:
@@ -34,7 +34,7 @@ async function exportSingleNote(exportContext, branch, format, res) {
|
||||
const turndownService = new TurndownService();
|
||||
payload = turndownService.turndown(noteContent.content);
|
||||
extension = 'md';
|
||||
mime = 'text/markdown'
|
||||
mime = 'text/x-markdown'
|
||||
}
|
||||
}
|
||||
else if (note.type === 'code') {
|
||||
|
||||
Reference in New Issue
Block a user