Conversation
Deploying utcode-learn with
|
| Latest commit: |
b9c642e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3105942b.utcode-learn.pages.dev |
| Branch Preview URL: | https://add-codeblock-dark-theme.utcode-learn.pages.dev |
There was a problem hiding this comment.
Pull request overview
This PR adds dark theme support for code blocks in the Docusaurus configuration, following the official Docusaurus documentation and template examples. The change enables automatic theme switching for code syntax highlighting based on the user's selected theme (light/dark mode).
- Adds
darkTheme: prismThemes.draculaconfiguration to the Prism settings indocusaurus.config.js
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
chelproc
approved these changes
Nov 30, 2025
chelproc
approved these changes
Dec 6, 2025
chelproc
approved these changes
Dec 14, 2025
Yokomi422
approved these changes
Dec 14, 2025
This file contains hidden or 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
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.
コードブロックにダークテーマの設定を追加しました。Docusaurusのテンプレートを参考にしました。
cf. ライトテーマのみを設定した過去のコミット 6eae8d1
cf. コードブロックのテーマのドキュメント https://docusaurus.io/docs/markdown-features/code-blocks#theming
cf. Docusaurusのテンプレートの該当箇所 https://github.com/facebook/docusaurus/blob/c6c0f636a86dfb255ff3b114a29cd86eb165424f/packages/create-docusaurus/templates/classic-typescript/docusaurus.config.ts#L144-L145
変更前
before.mp4
変更後
after.mp4