allow nested lists by default
@geoffrey-eisenbarth đang làm issue này rồi.
Từ ngày 5/4/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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:
- using javascript to inject the class; this does not seem like an appropriate use for js
- parsing the output html and modifying it in-line; this is extremely complex for a script that otherwise just shells out to
cmark(for example) - overriding the missing.css css in a second file
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:
- having the nested-list behavior be the default
- have an override that handles something like
ul:has(li ul)
- Ngôn ngữ chính
- CSS
- Star
- 798
- Fork
- 29
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của bigskysoftware/missing
-
visual
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
bigskysoftware/missing#172 ·
-
visual
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
bigskysoftware/missing#171 · 1 bình luận ·
-
User-generated content helper Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
bigskysoftware/missing#162 · 1 bình luận · 1 reaction ·
-
enhancement question
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
bigskysoftware/missing#174 ·
-
visual
bigskysoftware/missing#173 · 1 người được giao ·