Skip to content

Ordered List Styles #7721

Closed Answered by kamilkrzyskow
dmccreary asked this question in Q&A
Nov 19, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hello @dmccreary,
I'm a bit lost on your explanation, as to why is there the requirement to use SuperFences / Code blocks to achieve the result?
Also on the linked pages, some examples are rendered and some aren't, and you're using a ::: syntax, which isn't provided by SuperFences afaik, so perhaps I'm just missing something.

What is wrong with such setup?

<style>
  .md-content__inner > ol {
      list-style-type: upper-alpha;
  }
</style>

Some description 1

1. Answer 1
2. Answer 2
3. Answer 3
4. Answer 4

Some description 2

1. Answer 5
2. Answer 6
3. Answer 7
4. Answer 8

The issue with my solution is that the <style> applies the style globally. This could be mitigated with a "feature …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@facelessuser
Comment options

@dmccreary
Comment options

Answer selected by dmccreary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants