-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Describe the bug
In version v52.14.1, Comark Syntax for text works fine:
Test{style="width:110px" .shadow .center}produces this HTML:
<p class="shadow center" style="width: 110px;">Test</p>BUT: Same comark block for images does nothing
{style="width:110px" .shadow .center}
rendered HTML:
<p><img src="https://placehold.co/600x400" alt=""></p>Problem does not appear in v51.8.2
Minimal reproduction
Steps to reproduce the behavior:
-
Create a new empty project with slidev v52.14.1 :
npm create slidev@latest -
add these lines to any slide
Test{style="width:110px" .shadow .center}
{style="width:110px" .shadow .center}
- open slide in browser
Environment
- Slidev version: v52.14.1
- NodeJS: v24.11.1
- Browser: Chrome and Vivaldi
- OS: Linux Mint
Reactions are currently unavailable