docsifyjs / docsifyjs/docsify

Nested/Recursive includes

未关闭
#2,643 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature request Triage
主要语言
JavaScript
星标
31.5k
派生
5.8k
平均合并
9 天 8 小时
30 天内合并 PR
2

描述

### Problem or Desire

For our new docs at work, we want to convert LaTeX to Markdown. The problem is that it has quite a lot of nested documents with `\include`, which Docsify can only go one level deep.

### Proposal

Docsify should resolve the included markdown files recursively. With protection against looping embeds.

### Additional Context

There is no need to make it a setting to preserve backwards compatibility.
First time

贡献指南

打开贡献指南

调研方向

该 issue 未指明文件、测试或入口点。首先定位 Docsify 对 markdown \include 指令的处理方式,以及现有的 embed 解析测试;然后验证递归包含,包括防止 embed 循环的保护机制,同时保持当前行为,不添加设置。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
documentation
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。