allow nested lists by default #30
Labels
enhancement
New feature or request
visual
A visual issue, affecting the appearance of pages. Can be usability-related or simply aesthetic.
It's common to author content in markdown, and then programmatically generate html from it.
Markdown compilers typically do not include ways to add custom classes to their output.
Consequently, missing.css is relatively unusable with markdown generators when the content includes nested lists, since there's no easy way to add the class.
The potential content-side solutions include:
cmark
(for example)Since one of the goals of missing.css is to "build common components using plain, semantic HTML", and generated markdown is about as plain and semantic as it gets, this seems to be a good fit.
Of additional note, it's also a notable downgrade from classless css libraries, since those typically handle this use-case fine.
Potential solutions include:
ul:has(li ul)
The text was updated successfully, but these errors were encountered: