Divyansh Singh
Divyansh Singh
> if they even can be integrated Yeah sure it can be, and its quite easy too. Just run `npm i medium-zoom` and then you can do stuff like this:...
> Is there a way to apply this globally? In next version you'll be able to add a `setup` function in theme (added this in #856 itself). I'll update the...
I've updated [the example](https://stackblitz.com/edit/vite-qdzzmm), you now can simply do: ```js // .vitepress/theme/index.js import DefaultTheme from 'vitepress/theme'; import { onMounted } from 'vue'; import mediumZoom from 'medium-zoom'; import './index.css'; export default...
Ah, I'll look into that. Might need to initialise medium-zoom inside a watcher.
I am keeping this open for now, but it'll be quite tricky IG. The closest we can get you is supporting permalink feature from VuePress, using that you can just...
Can anyone share a reproducible example for this? I am not able to reproduce this. Is there something I am missing here: https://stackblitz.com/edit/vite-nthrsj?file=docs%2F.vitepress%2Fconfig.js?
The issue is not due to `highlightLinePlugin`. I tried removing that. It still don't show attributes on code block. It is working if I remove `highlight` option altogether. :/
@kiaking https://github.com/arve0/markdown-it-attrs#:~:text=And%20fenced%20code%20blocks%3A
Don't think they both will play nice with each other. Here is a workaround for that: https://github.com/arve0/markdown-it-attrs/issues/63#issuecomment-390463460 -- or we can probably modify our highlightLinePlugin to use different limiters.
For now, you can do this: https://stackblitz.com/edit/vite-hjnnuu?file=docs%2F.vitepress%2Fconfig.js ```js sidebar: [ { text: '', // I see nothing in the documentation to help me achieve this however. Auto generating sidebar is...