vriteio / vrite

Open-source developer content platform
https://vrite.io
Other
1.62k stars 64 forks source link

Code blocks fail to display properly when under a numbered list #19

Closed kcoderhtml closed 1 year ago

kcoderhtml commented 1 year ago

When I have a code block that is inside a numbered list item than it will not be highlighted when rendered.

image image

areknawo commented 1 year ago

The nested code blocks aren't properly converted to Astro highlighted <Code> components from standard <pre> blocks.

Thanks for reporting, will work on fixing this soon.

areknawo commented 1 year ago

Hey, sorry this took so long. This is fixed now in @vrite/sdk@2023.7.13-beta. Update and give it a try. Feel free to reopen if there are any related issues.

kcoderhtml commented 1 year ago

No worries! I tested it and can confirm that it fixed my problem. Thank you!