Open gdolle opened 7 years ago
This features includes other issue. It need to access network in each build process. Also, It should have effective cache system(maybe already exist some npm modules).
Edit: My position about this proposal https://github.com/azu/gitbook-plugin-include-codeblock/pull/43#issuecomment-274780365
This feature will add complexity to this plugin. We should take care adding this feature.
It would be really nice to have this feature, typically when we have to document a code and the book is not in the same repo ! it allows to keep the code up to date and avoir code duplication
I would love this feature. Please update doc here to remove "url" as an option - until this feature is added.
@hamishwillee Thanks. fixed in https://github.com/azu/gitbook-plugin-include-codeblock/commit/c97000c2d9fa57effb5b190fd16c9223b859bbed
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