Fork from hexo-tag-github-code.
Insert code from remote website when static files are generated.
npm install hexo-tag-remote-code
or
yarn add hexo-tag-remote-code
{% remote_code [lang:language] [url] [link text] %}
- https://github.com/MoonBegonia/hexo-tag-remote-code/blob/master/index.js
- https://github.com/MoonBegonia/hexo-tag-remote-code/blob/master/index.js#L1-L10
- https://gist.github.com/MoonBegonia/01a94921655acf525afb718db8ee4181
- https://gist.github.com/MoonBegonia/01a94921655acf525afb718db8ee4181#file-test-md
Some examples: