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
Hi @itzhoujun , now the textstyle is not supporting for border radius and padding, because the CodeConfig is using TextStyle-backgroundColor to show the color block
I am using the same CodeWrapper defined in the demo doc along with PreConfig to configure light and dark colors to be used.
This is only being applied to block code that is surrounded by triple back ticks like
But this wrapper is not being applied for inline code that is surround by single backticks i.e. like
this
Below is an example of how the dark colors are getting applied for the code block but not the inline code.
![Screenshot 2024-04-08 at 1 19 49 AM](https://private-user-images.githubusercontent.com/23525616/320309654-5758af9c-4b0b-4ffc-9d8e-9bac518332c1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MTUyMTEsIm5iZiI6MTczOTgxNDkxMSwicGF0aCI6Ii8yMzUyNTYxNi8zMjAzMDk2NTQtNTc1OGFmOWMtNGIwYi00ZmZjLTlkOGUtOWJhYzUxODMzMmMxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDE3NTUxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJkMTU5Yjg5OTM1OWQzYzY2YjI4NWVkZDc0NWE2ZTZhNWIxZmI5NGJhNmE1ZGQ0NTM2NWU0MzU5YjA4N2I1MjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HgkRpJEuFcwptkYc6fkYdMf7CSH-_n79J7_BNpH2AKQ)
How do I make the wrapper also apply for inline code? TIA
The text was updated successfully, but these errors were encountered: