Divyansh Singh
                                            Divyansh Singh
                                        
                                    Ah right, it's not maintaining position on reload. Doesn't seem to be happening on our docs site though 👀
> Strange, I cannot reproduce the bug. Seems to be only happening on firefox. > the scrollbar is automatically scrolled to somewhere else by the browser This is expected behavior...
> The demo below does not locate the accurate anchor point in any browser. That's just layout shift. You haven't added height/width or aspect ratio to that image - https://web.dev/articles/optimize-cls...
> It looks a bit inconvenient for writing a markdown post with images You can use some markdown-it plugin like https://github.com/boyum/markdown-it-image-size or https://github.com/ulfschneider/markdown-it-fitmedia though. There are also vite plugins out...
Can you share the dockerfile and docker-compose.yml?
Is build working?
You can do something like this: ```ts // .vitepress/config.ts import { defineConfig } from 'vitepress' export default defineConfig({ markdown: { config(md) { md.render = function (src, env) { return yourRenderer(src,...
You probably need to add your theme to vite.ssr.noExternal in config. Can you share a repo where I can reproduce this?
The issue is, unlike vite, we don't have an index.html in build 😅 We do have a html kind of template (that we pass to [transformHtml](https://vitepress.dev/reference/site-config#transformhtml) hook), it can be...