Skip to content

Reset list-item counter #165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

simonacca
Copy link

@simonacca simonacca commented Apr 9, 2021

Fixes #162

@simonacca
Copy link
Author

Tested this successfully with the ordered list already present in the demo site.

@simonacca simonacca marked this pull request as ready for review April 11, 2021 00:21
@neupauer
Copy link
Contributor

Hi, this solution does not take into account the start attribute.

By resetting the implicit list counter (list-item) the following stops working:

<ol start="3">
  <li>A</li>
  <li>B</li>
  <li>C</li>
</ol>

<!--
3. A
4. B
5. C
-->

See https://play.tailwindcss.com/4Tc9oGNNps

@reinink
Copy link
Member

reinink commented Jan 7, 2022

Hey thanks for submitting this PR, but I believe that this issue is resolved in the latest version of the typography plugin. Please see my comment in the original issue here: #162 (comment)

@reinink reinink closed this Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ordered lists start from 2
3 participants