Skip to content
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

Add utility classes for list counters #132

Merged
merged 1 commit into from
Dec 24, 2024
Merged

Add utility classes for list counters #132

merged 1 commit into from
Dec 24, 2024

Conversation

pcraig3
Copy link
Collaborator

@pcraig3 pcraig3 commented Dec 24, 2024

Summary

Sometimes we need different list counters for complex NOFO documents.

This PR adds some classes we can use to change the list counters to be roman numerals (i, ii, iii), uppercase roman numerals (I, II, III), alphabets, (a, b, c), and uppercase alphabets (A, B, C).

We can't represent these in markdown, but we can convert to HTML and add the classes.

markdown

- one 
- two
- three

big alpha

<ol class="list-upper-alpha">
  <li>one</li>
  <li>two</li>
  <li>three</li>
</ol>

lower roman

<ol class="list-lower-roman">
  <li>one</li>
  <li>two</li>
  <li>three</li>
</ol>

Sometimes we need these for 200-page NOFO documents.
@pcraig3 pcraig3 merged commit 90fc9ca into main Dec 24, 2024
4 checks passed
@pcraig3 pcraig3 deleted the list-classes branch December 24, 2024 16:04
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.

1 participant