Divyansh Singh

Results 492 comments of Divyansh Singh
trafficstars

It ultimately depends on how many users need that feature. Enabling `llms: true` in vitepress config is significantly more convenient for end-users compared to installing and setting up a separate...

I'm not sure but looks like that plugin is not doing tokenization properly. Also, even if it did properly mark that as video instead of link it would've caused hydration...

> https://github.com/vite-pwa/vitepress/tree/main/examples/pwa-prompt this has the component - https://github.com/vite-pwa/vitepress/blob/main/examples/pwa-prompt/.vitepress/theme/components/ReloadPrompt.vue > https://github.com/vite-pwa/vitepress/tree/main/examples/pwa-simple-assets-generator this doesn't Refer: https://vite-pwa-org.netlify.app/frameworks/vitepress.html#import-virtual-modules for theme setup.

Ah, it's router, but that function is not exactly a hook. You need to define it - https://github.com/vuejs/vitepress/pull/2564#issue-1783819597 ```ts router.onBeforeRouteChange = (to) => { console.log('onBeforeRouteChange', to) } ```

Please explain.

Closing as stale. No other upvote or response in 6 months.

Hmm, looks like it. I’ll talk internally 👀

You can use `layout-top` slot for that: https://vitepress.dev/guide/extending-default-theme#layout-slots Refer this PR for reference: https://github.com/faker-js/faker/pull/1487

Keeping it open for docs.

Yeah maybe for v2. We will probably do a theme overhaul too with that (need to review a11y, use p3 colors / color-mix for brand colors?, font-relative units and dir-relative...