We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@shiki/rehype
Similar to https://github.com/orgs/mdx-js/discussions/2288 , I'm looking for a way to dynamically interpolate dynamic values in code blocks
Eg one example could look like this:
```bash pnpm add @upleveled/ley@{props.versions.ley} tsx@{props.versions.tsx} ```
Where the final version would look like this:
pnpm add @upleveled/[email protected] [email protected]
These would be interpolated ideally based on props passed to the MDX compiled component.
Use a React component to apply Shiki highlighting in a different way, instead of @rehype/shiki
@rehype/shiki
--
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Clear and concise description of the problem
Similar to https://github.com/orgs/mdx-js/discussions/2288 , I'm looking for a way to dynamically interpolate dynamic values in code blocks
Suggested solution
Eg one example could look like this:
Where the final version would look like this:
These would be interpolated ideally based on props passed to the MDX compiled component.
Alternative
Use a React component to apply Shiki highlighting in a different way, instead of
@rehype/shiki
Additional context
--
Validations
Contributes
The text was updated successfully, but these errors were encountered: