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

@shikijs/vitepress-twoslash: Use twoslash in the case of using imported code snippets. #682

Open
3 of 4 tasks
Zhang-Wei-666 opened this issue May 20, 2024 · 0 comments
Open
3 of 4 tasks
Labels
help-wanted Extra attention is needed

Comments

@Zhang-Wei-666
Copy link

Clear and concise description of the problem

希望可以在使用导入代码片段的情况下, 使用 twoslash


I hope to use twoslash when using imported code snippets.

Suggested solution

<<< ./src/types.ts twoslash
<<< ./src/types.ts#snippet twoslash

Alternative

No response

Additional context

No response

Validations

Contributes

  • If this feature request is accepted, I am willing to submit a PR to fix this issue
@antfu antfu added the help-wanted Extra attention is needed label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants