azu / azu/gitbook-plugin-include-codeblock

Parsing code from URL (Feature)

Ouverte
#42 4 commentaires 3 réactions 0 personnes assignées Voir sur GitHub
feature-proposal
Langage dominant
JavaScript
Étoiles
40
Forks
25
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript
Domaine
documentation
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.