danomatic / react-pdf-html

Render HTML in react-pdf
MIT License
167 stars 40 forks source link

Handle 'start' when using `<ol>` #97

Closed kvtemadden closed 2 months ago

kvtemadden commented 3 months ago

Whilst using ordered lists, it'd be good to be able to identify the start property.

e.g.

<ol start="7">
   <li><strong>Conclusion (1 minute):</strong></li>
</ol>
<ul>
   <li>Summarize the key points of your presentation.</li>
   <li>Mention any future improvements or features you plan to add.</li>
 </ul>

 <ol start="8">
   <li><strong>Q&A (10 minutes):</strong></li>
 </ol>
 <ul>
   <li>Open the floor for questions from the panel.</li>
 </ul>

Expected output:

Screenshot 2024-06-25 at 22 19 37

Actual output:

Screenshot 2024-06-25 at 22 20 01