azu / azu/gitbook-plugin-include-codeblock
Parsing code from URL (Feature)
- Dominant language
- JavaScript
- Stars
- 40
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
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)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100