Skip to content
New issue

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

Optionally disable or override preWrapper for fence blocks #4039

Open
4 tasks done
Fachep opened this issue Jul 13, 2024 · 1 comment
Open
4 tasks done

Optionally disable or override preWrapper for fence blocks #4039

Fachep opened this issue Jul 13, 2024 · 1 comment
Labels
enhancement New feature or request stale

Comments

@Fachep
Copy link

Fachep commented Jul 13, 2024

Is your feature request related to a problem? Please describe.

I'd like to wrap code/fence blocks in vue components without button and language span.
Currently vitepress forces wrapping with this:

.use(preWrapperPlugin, { codeCopyButtonTitle, hasSingleTheme })

Describe the solution you'd like

Offer some options for disabling preWrapperPlugin, or overriding it.

Describe alternatives you've considered

No response

Additional context

No response

Validations

@brc-dd
Copy link
Member

brc-dd commented Jul 13, 2024

You can just hide those using CSS inside your vue component 👀

@brc-dd brc-dd added the enhancement New feature or request label Jul 13, 2024
@github-actions github-actions bot added the stale label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

2 participants