🎨 Support searching EPUB asset content Fix https://github.com/siyuan-note/siyuan/issues/9000

This commit is contained in:
Daniel 2023-08-18 16:20:32 +08:00
parent 732c0805ca
commit 04cf28c962
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 47 additions and 1 deletions

View file

@ -493,7 +493,7 @@ export abstract class Constants {
public static readonly SIYUAN_ASSETS_EXTS: string[] = [".pdf"].concat(Constants.SIYUAN_ASSETS_IMAGE).concat(Constants.SIYUAN_ASSETS_AUDIO).concat(Constants.SIYUAN_ASSETS_VIDEO);
public static readonly SIYUAN_ASSETS_SEARCH: string[] = [".txt", ".md", ".markdown", ".docx", ".xlsx", ".pptx", ".pdf", ".json", ".log", ".sql", ".html", ".xml", ".java", ".h", ".c",
".cpp", ".go", ".rs", ".swift", ".kt", ".py", ".php", ".js", ".css", ".ts", ".sh", ".bat", ".cmd", ".ini", ".yaml",
".rst", ".adoc", ".textile", ".opml", ".org", ".wiki"];
".rst", ".adoc", ".textile", ".opml", ".org", ".wiki", ".epub"];
// protyle
public static readonly SIYUAN_CONFIG_APPEARANCE_DARK_CODE: string[] = ["a11y-dark", "agate", "an-old-hope", "androidstudio",