Fix MD export

This commit is contained in:
Paulo Gustavo Veiga 2022-09-15 21:27:34 -07:00
parent 5e64af8f5e
commit 5efdefae58

View File

@ -55,10 +55,7 @@ class MDExporter extends Exporter {
} }
result += '\n'; result += '\n';
// Encode as url response ... return Promise.resolve(result);
const blob = new Blob([result], { type: 'text/markdown' });
const urlStr = URL.createObjectURL(blob);
return Promise.resolve(urlStr);
} }
private traverseBranch(prefix: string, branches: Array<INodeModel>) { private traverseBranch(prefix: string, branches: Array<INodeModel>) {