add auto refresh
This commit is contained in:
parent
d5628dcfab
commit
dcf360b7d2
9 changed files with 164 additions and 29 deletions
|
|
@ -6,6 +6,8 @@ export const normalizeFiletype = (filetype: string): string => {
|
|||
return "jpeg";
|
||||
case "htm":
|
||||
return "html";
|
||||
case "tex":
|
||||
return "latex";
|
||||
default:
|
||||
return lowercaseFiletype;
|
||||
}
|
||||
|
|
@ -17,6 +19,8 @@ export const normalizeOutputFiletype = (filetype: string): string => {
|
|||
switch (lowercaseFiletype) {
|
||||
case "jpeg":
|
||||
return "jpg";
|
||||
case "latex":
|
||||
return "tex";
|
||||
default:
|
||||
return lowercaseFiletype;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue