-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat: add code-group component #1560
Conversation
Co-authored-by: "Jinjing.Zhou" <allenzhou@tensorchord.ai>
I've actually took most of the UI from what we have in @vue/theme (vuejs/theme#50, a demo is here). /cc @kiaking Your inputs? Should we change the UI? |
@brc-dd yeah I'll take this one over! I would like to adjust a just bit on tabs 👀 I'll work this on today or tomorrow 👍 |
My thoughts on UI: #728 (comment) |
Wow! Will this feature appear in the next release? So I don't have to use the garbage code I wrote 👀 |
Hopefully! Sorry it's taking time but I will work on it. |
# Conflicts: # .gitignore # package.json
I love this style 😍 |
This would completely replace the need of markdown-it-codetabs which I currently use in all my vitepress projects. |
How can I import code snippets into codeblocks? |
Glad to see this feature got merged! |
I have the same problem with this feature as @MarkusKeck, code snippets are not working and I think it is a core feature with large code blocks or change-prone ones, is there a workaround or something to have them working? Thanks in advance! |
@dmoyadev I use the @include statement and have all other markup inside the code itself.
The code fle itself (changed the ` to ' so it gets displayed correctly)
|
fixes #728
closes #1242
Huge thanks to @VoVAllen!
TODO: