Embed Twitter tweet tag plugin for Hexo.
This is a Hexo tag plugin which allows you to embed Twitter tweet on your blog posts.
npm install hexo-tag-twitter --save
{% twitter tweet-url %}
or
{% twitter tweet-id user-id %}
If you use tweet-id only , please edit your _config.yml
tagTwitter:
id: tea0828
Please read here if you can not display tweet well.
For example, if you want embed this tweet (This tweet tweet-id is 819885806714138624), please enter the following this.
Please edit your your-markdown.md . This way is most simple.
{% twitter https://twitter.com/tea0828/status/819885806714138624 %}
First , please edit your _config.yml .
tagTwitter:
id: tea0828
Next , Please edit your your-markdown.md .
{% twitter 819885806714138624 %}
Also, the above example can coding differently. Please edit your your-markdown.md for this way .
{% twitter 819885806714138624 tea0828 %}
MIT