You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I got markdoc + shiki working. However, I couldn't find a way to use {} syntax for highlighting
Describe the solution you'd like
Is it possible to pass this string as a prop on the fence component? (in this case is {1-2,4} next ot the lang prop)
```js {1-2,4}
console.log('hello');
console.log('world');
let number = 42;
```
I already have a custom fence component, but I couldn't manage to pass another variable or prop next to the lang prop
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Is your feature request related to a problem? Please describe.
I got markdoc + shiki working. However, I couldn't find a way to use
{}
syntax for highlightingDescribe the solution you'd like
Is it possible to pass this string as a prop on the fence component? (in this case is
{1-2,4}
next ot the lang prop)I already have a custom fence component, but I couldn't manage to pass another variable or prop next to the lang prop
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Here's an example of how to add code highlighting from markdoc docs
The text was updated successfully, but these errors were encountered: