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

Add Shiki code block demo app #276

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add Shiki code block demo app #276

wants to merge 1 commit into from

Conversation

elviskahoro
Copy link
Contributor

This pull request introduces a new Reflex app demonstrating the use of Shiki code blocks with various themes. The main features include:

  1. Add shiki block example
  2. Implementation of a State class to manage theme selection and code display.
  3. A user interface that showcases a code block with syntax highlighting.
  4. A radio group for selecting different Shiki themes.
  5. Automatic theme cycling using a moment component.
  6. Addition of Trunk configuration for linting and code quality checks.

The app allows users to view a Python code snippet with different syntax highlighting themes, providing an interactive way to explore various Shiki themes in action.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @elviskahoro and the rest of your teammates on Graphite Graphite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant