Skip to content
This repository has been archived by the owner on Apr 7, 2018. It is now read-only.

Latest commit

 

History

History
37 lines (29 loc) · 699 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 699 Bytes

hexo-tag-eval

hexo-tag-eval execute Hexo helper in the post.
Helper be used not only in theme but also in post via this plugin.

Limite to Hexo, it only support the helper doesn't use any this objects.

Usage

Install

npm install git://github.com/kywk/hexo-tag-eval.git --save

Use in your post

{% eval HELPER_NAME [HELPER_ARGS] %}

Example

Here is a example add TOC to post

{% eval toc data.content %}

Post TOC

Misc

Update

npm update

Uninstall

npm uninstall hexo-tag-eval