azu / azu/gitbook-plugin-include-codeblock

Parsing code from URL (Feature)

未关闭
#42 4 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
feature-proposal
主要语言
JavaScript
星标
40
派生
25
PR 合并指标
30 天内没有已合并 PR

描述

If a code is already hosted on github (or elsewhere), you might want to avoid code duplication and parse the code from the url (e.g raw github, gists, ... etc).

For example
```
[import:"marker0"](https://raw.githubusercontent.com/azu/gitbook-plugin-include-codeblock/master/example/src/marker.ts)
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by locating the plugin entry point that handles local code includes; the issue names raw GitHub URLs and gists as desired sources but no files or tests. Review existing include behavior, then determine supported URL forms and verify that hosted code can be included without duplicating it locally.

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

评估

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

把新 issue 发到你的邮箱

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