\r\n```yaml\r\n // algolia搜索\r\n search: {\r\n provider: 'algolia',\r\n options: {\r\n appId: 'xxxxx',\r\n apiKey: 'xxxxx',\r\n indexName: 'xxxxxx'\r\n }\r\n },",[],2944,"\"Algolia Search\" cannot jump to the page","2023-09-21T00:04:13Z","https://github.com/vuejs/vitepress/issues/2944",0.770766,{"description":2949,"labels":2950,"number":2951,"owner":2872,"repository":2873,"state":2886,"title":2952,"updated_at":2953,"url":2954,"score":2955},"### Is your feature request related to a problem? Please describe.\r\n\r\nThe problem I encounter is the fact that certain assets (`.pptx`, `.xlsm`, `.xlsx`) do not behave as I would expect. Currently, if you put these files in the` ./docs/public` folder, you get a link to the location. Clicking this link directs you to a 404 page.\r\n\r\n```markdown\r\n## Resources\r\n- [Agile Inception Deck](/documents/agile-inception-deck.pptx)\r\n```\r\n\r\n\r\n\r\nWhat I would expect is that pressing the link would open a download screen, as these files cannot be opened in the browser.\r\n\r\n---\r\n\r\nThe file `agile-inception-deck.pptx` is stored in the `./docs/public/documents/` folder.\r\n\r\n### Describe the solution you'd like\r\n\r\nI'd like to be able to configure assets in the `config.ts` file, where I would be able to configure how these assets should be handled.\r\n\r\nExample\r\n```markdown\r\nassetAction {\r\n pattern: ['**/*.{pptx, xlsm}']\r\n action: 'download'\r\n}\r\n```\r\n\r\n### Describe alternatives you've considered\r\n\r\nAdding custom mimetypes to the vite source code as per the instructions of described in [constants.ts](https://github.com/vitejs/vite/blob/main/packages/vite/src/node/constants.ts)\r\n\r\n### Additional context\r\n\r\nThe current workaround for this issue is using the `\u003Ca>` tag with `target=\"_blank\"` in the markdown files. i.e., \r\n```\u003Ca href=\"/documents/agile-inception-deck.pptx\" target=\"_blank\">Agile Inception Deck\u003C/a>```\r\ninstead of \r\n```[Agile Inception Deck](/documents/agile-inception-deck.pptx)```\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.dev).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],3818,"Configurable asset type","2024-05-01T04:42:09Z","https://github.com/vuejs/vitepress/issues/3818",0.7714974,{"description":2957,"labels":2958,"number":2962,"owner":2872,"repository":2873,"state":2886,"title":2963,"updated_at":2964,"url":2965,"score":2966},"**Describe the bug**\r\n[when creating your own theme.](https://vitepress.vuejs.org/guide/global-component.html#content) here is local.\r\n\r\n**To Reproduce**\r\nModify the document link instead of local.\r\n\r\n**Expected behavior**\r\n\r\nCorrect the document because it is not displayed.\r\n",[2959],{"name":2960,"color":2961},"bug: pending triage","e99695",270,"Wrong document link","2023-01-21T16:22:27Z","https://github.com/vuejs/vitepress/issues/270",0.7719712,["Reactive",2968],{},["Set"],["ShallowReactive",2971],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fnUF5MnO2CFCbmfVkZwI8BAZhIfo1zb_gdDaziA39ie0":-1},"/vuejs/vitepress/4510"]