vocs icon indicating copy to clipboard operation
vocs copied to clipboard

Markdown code samples line annotations broken with JSX

Open norswap opened this issue 8 months ago • 1 comments

Example:

import React from 'react'
import ReactDOM from 'react-dom/client'
import { HappyWalletProvider } from '@happy.tech/react' // [!code focus]

ReactDOM.createRoot(document.getElementById('root')).render(
    <HappyWalletProvider> // [!code focus]
        {/* <YourApp /> */}
    </HappyWalletProvider> // [!code focus]
)

Result:

Image

IIRC this used to work as expected in previous versions, but I'm not 100% sure.

norswap avatar Apr 20 '25 14:04 norswap

#299

xx1124961758 avatar May 15 '25 03:05 xx1124961758