allow nested lists by default
@geoffrey-eisenbarth 已经在做这个了。
开始于 2026年4月5日。
评估
这个 Issue 还没有评估数据。
描述
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)
- 主要语言
- CSS
- 星标
- 797
- 派生
- 29
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bigskysoftware/missing 的其他 Issue
-
visual
难度 1/5 1 小时以内 新手友好度 78/100
bigskysoftware/missing#172 ·
-
visual
难度 2/5 1-3 小时 新手友好度 78/100
bigskysoftware/missing#171 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 68/100
bigskysoftware/missing#162 · 1 条评论 · 1 个 reaction ·
-
enhancement question
难度 5/5 一周以上 新手友好度 30/100
bigskysoftware/missing#174 ·
-
Remove bullets from `<li><input>`可能已有人在做 @geoffrey-eisenbarth 于 22 天前认领。 未关闭visual
bigskysoftware/missing#173 · 已指派 1 人 ·