Replies: 1 comment
-
interesting I am also looking for an answer to this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the shiki docs it gives an example of how to use decorations
If I have a custom prose pre component i need to be able to generate a decoration object and push it into the decorations array.
I cannot figure this out and I dont understand how I can get at a certain value in a markdown file. For example in the file below, how can I get access to the
/foo/
value in the prose pre component?and since the prose pre component is generated with three backticks, is there any way I could pass in a custom prop?
Beta Was this translation helpful? Give feedback.
All reactions