-
Notifications
You must be signed in to change notification settings - Fork 4
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
Comments
Don't quite understand this too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)
The text was updated successfully, but these errors were encountered: