给你的 hexo 博客添加关键词 hover 提示
💡 Basic Syntax
Insert this little Nunjucks snippet anywhere you want to show your hints:
1 | {% hint 'body_text' 'hint_text' %} |
Where body_text is the normal post body text, hint_text is the text that should be presented inside the hint bubble. Use \' to escape ' if necessary.
E.g.:
1 | {% hint 'misfits' 'hexo-tag-hint' %} |
📖 Multi-line Support
Multi-line hints are supported right now🎉. Append additional hint text lines to build a multi-line hint:
1 | {% hint 'body_text' 'hint_text_1st_line' 'hint_text_2nd_line' ... %} |
E.g.:
1 | {% hint 'Hexo' 'A fast, simple &' 'powerful blog framework' %} |
🔌 Install & Update
Execute following one-liners to integrate this plugin into your Hexo project, or to update the plugin:
1 | $ npm install hexo-tag-hint # install this plugin |

