New feature to cut TOC items down to a given level
还没有人认领这个 Issue。
评估
调研方向
The issue requests a new --max-level CLI option for github-markdown-toc; begin by tracing the existing heading and TOC-generation entry point. Done means headings deeper than the requested level are omitted, so --max-level 2 includes # and ## but skips ### and deeper headings.
由索引模型根据 Issue 内容生成。
描述
This tool is great! I'd like to suggest this improvement: allow me to specify the deepest heading level I want to consider to build the TOC, e.g., --max-level 2, it will only consider # and ## headers, it will skip from ### or more.
- 主要语言
- Shell
- 星标
- 3.3k
- 派生
- 2.7k
- 平均合并
- 2 分钟
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ekalinin/github-markdown-toc 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
ekalinin/github-markdown-toc#167 ·
-
documentation
难度 2/5 1-3 小时 新手友好度 88/100
ekalinin/github-markdown-toc#165 ·
-
bug
难度 3/5 1-2 天 新手友好度 68/100
ekalinin/github-markdown-toc#166 ·
-
[Feature] `--no-code-tag-removal` flag allowing to make removal of backticks in TOC entries optional未关闭enhancement
难度 3/5 1-2 天 新手友好度 58/100
ekalinin/github-markdown-toc#153 ·
-
难度 3/5 1-2 天 新手友好度 35/100
ekalinin/github-markdown-toc#152 · 1 个 reaction ·
查看 ekalinin/github-markdown-toc 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
alunduil/alunduil-infrastructure#629 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
duckdb/duckdb-skills#19 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 78/100
YosysHQ/oss-cad-suite-build#216 ·