-
Notifications
You must be signed in to change notification settings - Fork 0
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
refactor: Encapsulate Shiki logic in useShiki
hook
#463
Draft
AVGVSTVS96
wants to merge
2
commits into
shikiWithParser
Choose a base branch
from
shikiHookWithParse
base: shikiWithParser
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Create `useShiki` hook to handle code highlighting logic - Call `useShiki` hook in `CodeHighlight` component - Remove unneeded props and imports from `CodeHighlight` component
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
This was referenced Jun 29, 2024
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
AVGVSTVS96
changed the title
Simplify
Encapsulate Shiki logic in Jun 29, 2024
CodeHighlight
and useShiki
hook, update code block stylinguseShiki
hook
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
June 30, 2024 01:17
87ac4bd
to
e2aad91
Compare
AVGVSTVS96
changed the title
Encapsulate Shiki logic in
refactor: Encapsulate Shiki logic in Jul 1, 2024
useShiki
hookuseShiki
hook
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
July 1, 2024 03:49
e2aad91
to
4bce9a9
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
July 1, 2024 03:51
c8cd721
to
70c3d5e
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
July 1, 2024 03:51
4bce9a9
to
019a11b
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
2 times, most recently
from
July 4, 2024 02:47
873452f
to
9ac24cc
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
July 4, 2024 03:27
693323a
to
ad0c51d
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
July 4, 2024 03:27
7655274
to
2ecfe55
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
July 4, 2024 05:56
2ecfe55
to
fbe698d
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
July 5, 2024 03:53
dd58022
to
e508395
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
3 times, most recently
from
July 5, 2024 04:00
be5e659
to
518b71e
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
July 5, 2024 05:37
aad191a
to
d84506e
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
July 5, 2024 05:37
1cb90ed
to
00b9025
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
July 5, 2024 23:58
d84506e
to
e5522b9
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
July 5, 2024 23:58
00b9025
to
d94c5ca
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
July 6, 2024 04:05
e5522b9
to
7718d0f
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
September 1, 2024 01:54
b41f4df
to
cdf61d1
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
September 1, 2024 01:54
c49dc49
to
7f87056
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
September 30, 2024 00:52
cdf61d1
to
f49a5cf
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
September 30, 2024 00:52
7f87056
to
e862b01
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
October 7, 2024 03:19
f49a5cf
to
562a086
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
October 7, 2024 03:19
e862b01
to
8616131
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
October 7, 2024 03:54
e163be9
to
5623088
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
October 7, 2024 03:54
8616131
to
602021e
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
October 14, 2024 16:10
5623088
to
738955f
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
October 14, 2024 16:10
602021e
to
83cb85b
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
January 21, 2025 07:49
e6752ff
to
0025118
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
January 21, 2025 19:51
83cb85b
to
2f891cb
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
January 25, 2025 06:17
0025118
to
9346b7f
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
January 25, 2025 06:17
2f891cb
to
3633cfb
Compare
This was referenced Jan 28, 2025
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
January 31, 2025 01:18
9346b7f
to
f6e63ae
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
February 8, 2025 04:17
f49950a
to
247cf44
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
February 8, 2025 04:18
3633cfb
to
e0d6df0
Compare
AVGVSTVS96
force-pushed
the
shikiWithParser
branch
from
February 8, 2025 04:32
247cf44
to
64008cd
Compare
AVGVSTVS96
force-pushed
the
shikiHookWithParse
branch
from
February 8, 2025 04:32
e0d6df0
to
9029bcc
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Create
useShiki
hook, use inCodeHighlight
componentstyling: update code theme to 'houston'
update lockfiles