hexo-include-file

1.0.0 • Public • Published

hexo-github-include

This plugin allows you to include listings of files stored on GitHub. It fetches raw data from https://raw.githubusercontent.com/path and wraps it into markdown's triple backticks ```.

Usage

{% github_include path [language] %}

For example:

{% github_include zbicin/hexo-github-include/index.js js %}

results in:

    ```js
    /* contents of index.js */
    ```

Readme

Keywords

none

Package Sidebar

Install

npm i hexo-include-file

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.36 kB

Total Files

3

Last publish

Collaborators

  • cuilongjin