Blog examples

Include title code

Posted by Roy Zhang on 2019-07-28

1 Yksi


write what you want to see

1.1 code


bash

1
2
3
git clone https://github.com/YenYuHsuan/hexo-theme-beantech.git ./hexo-beantech
cd hexo-beantech
npm install

yml

1
2
3
4
deploy:
type: git
repo: https://github.com/<yourAccount>/<repo>
branch: <your-branch>

javascript

1
2
3
4
5
6
async("https://cdn.bootcss.com/anchor-js/1.1.1/anchor.min.js",function(){
anchors.options = {
visible: 'hover',
placement: 'left',
icon: ℬ // this is the header anchor "unicode" icon
};

1.2 pic


home_posts_tag-true

1.3 hyperlink


My markdown render engine plugin is hexo-renderer-markdown-it.