mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-12 23:46:13 +01:00
🚨
This commit is contained in:
parent
b53c0e4758
commit
85aaede426
4 changed files with 8 additions and 11 deletions
|
|
@ -122,19 +122,16 @@ const getExportPath = (option: { type: string, id: string }, pdfOption?: PrintTo
|
|||
return;
|
||||
}
|
||||
|
||||
let exportType = "HTML (SiYuan)"
|
||||
let extension = "html"
|
||||
let exportType = "HTML (SiYuan)";
|
||||
switch (option.type) {
|
||||
case "htmlmd":
|
||||
exportType = "HTML (Markdown)";
|
||||
break;
|
||||
case "word":
|
||||
exportType = "Word .docx";
|
||||
extension = "docx";
|
||||
break;
|
||||
case "pdf":
|
||||
exportType = "PDF";
|
||||
extension = "pdf";
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue