Replies: 2 comments
-
interesting I am also looking for an answer to this |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can use the default ProsePre (https://content.nuxt.com/components/prose#prosepre). Then, custom your template and css |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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