We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was intalling it in this way: https://nolebase-integrations.ayaka.io/pages/en/integrations/vitepress-plugin-inline-link-preview/getting-started.html
but i couldn't get those:
import { InlineLinkPreviewElementTransform } from '@nolebase/vitepress-plugin-inline-link-preview/markdown-it'
and
import { NolebaseInlineLinkPreviewPlugin, } from '@nolebase/vitepress-plugin-inline-link-preview/client'
well, i'm new to vitepress, i dont know what to do .
is it a bug? or something else.
The text was updated successfully, but these errors were encountered:
Oh, this was unreleased yet (for v2), but will be soon released today.
For now, please refer to #63 and use
// .vitepress/config.ts import { ElementTransform } from '@nolebase/markdown-it-element-transform' export default defineConfig({ markdown: { config(md) => { md.use(ElementTransform, (() => { let transformNextLinkCloseToken = false return { transform(token) { switch (token.type) { case 'link_open': if (token.attrGet('class') !== 'header-anchor') { token.tag = 'VPNolebaseInlineLinkPreview' transformNextLinkCloseToken = true } break case 'link_close': if (transformNextLinkCloseToken) { token.tag = 'VPNolebaseInlineLinkPreview' transformNextLinkCloseToken = false } break } }, } as ElementTransformOptions })()) } } })
with
// .vitepress/theme/index.ts import { NolebaseInlineLinkPreviewPlugin, } from '@nolebase/vitepress-plugin-inline-link-preview'
directly.
Sorry, something went wrong.
thanks for your braaavo plugins
Released as 2.0.0-rc2, feel free to give it a try 🤭
2.0.0-rc2
No branches or pull requests
I was intalling it in this way: https://nolebase-integrations.ayaka.io/pages/en/integrations/vitepress-plugin-inline-link-preview/getting-started.html
but i couldn't get those:
and
well, i'm new to vitepress, i dont know what to do .
is it a bug? or something else.
The text was updated successfully, but these errors were encountered: