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

list levels parsing #42

Open
ittayd opened this issue Mar 26, 2023 · 1 comment
Open

list levels parsing #42

ittayd opened this issue Mar 26, 2023 · 1 comment

Comments

@ittayd
Copy link

ittayd commented Mar 26, 2023

The list level parsing returns a class that is 'list' plus one of 'keyword', 'variable-2' or 'variable-3'. This means that in order to style a level 1 list, need to match .list.keyword, in order to match level 2 list need to use .list.variable-2, similarly for level 3, for level 4 there is no match and it'll match .list.keyword.

This makes it order to style lists with indentation (as cmplus does).

I suggest maybe having a 'level-' class and not use 'keyword', 'variable-2', 'variable-3' (not sure of their use case, but the names are confusing for this one)

@linonetwo
Copy link
Collaborator

Don't quite understand this too.

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

No branches or pull requests

2 participants