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)
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

先找出處理本機程式碼 include 的 plugin 入口點;issue 將 raw GitHub URL 和 gist 列為所需來源,但沒有指定檔案或測試。檢視現有的 include 行為,接著確定支援的 URL 形式,並驗證託管的程式碼可以在不於本機重複儲存的情況下被 include。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
documentation
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。