#Using inline code in markdown

3 messages · Page 1 of 1 (latest)

desert heart
#

I am currently migrating my website to Astro. On my current website I use the @shikijs/rehype plugin for my code blocks. This enabled me to use inline code (https://shiki.style/packages/rehype#inline-code) with the following syntax: console.log("Hello World"){:js}. Is that possible with Astro's Shiki integration aswell?

A beautiful yet powerful syntax highlighter

nova field
desert heart
#

Sorry, my question was not clear enough, is it possible in markdown or mdx files. I don't use markdoc.