hexo-vinclude

1.0.8 • Public • Published

modify from PirtleShell/hexo-include

  • use tag name Vinclude

fix some bug .

{% Vinclude path/to/jscode.js javascript %}

{% Vinclude path/to/jscode.html html %}

origin ReadMe

hexo-include

A Hexo plugin for including the raw content of a text file into a post directly from its markdown. Easily insert pre-written HMTL, JS, or the contents of any text file into the body of your post or page.

Usage

Insert the following into the post's markdown where you want the contents of the external file inserted. All file paths are relative to your source directory.

{% include path/to/file.bar %}

Install

Install with npm from the base directory of your Hexo site:

$ npm install --save --only=prod hexo-include

The --only=prod ensures that the development dependencies are not installed. If you want to run the tests, remove this flag. More info here.

License

MIT (c) 2016 Robert Pirtle.

Readme

Keywords

Package Sidebar

Install

npm i hexo-vinclude

Weekly Downloads

1

Version

1.0.8

License

MIT

Unpacked Size

6.67 kB

Total Files

6

Last publish

Collaborators

  • kxmihr680