基于我的上一篇博客:http://blog.youkuaiyun.com/u014427391/article/details/53670744
的基础,本博客,介绍hexo博客主题更换和上传自己写的博客,使用markdown进行博客编辑。
准备,我们需要先从hexo官网下载自己喜欢的主题,这里下载yelee的主题,下载好了之后,我们将主题放在myblog,注意看我的上一篇博客
修改_config.yml

同样使用命令输入
更新博客信息
hexo g
重新部署博客:
hexo d
上传博客的同样,
用markdown写好博客之后,将文件放在source的_posts文件里
同样是hexo g 和hexo d操作就可以,本博客只是对上一篇博客的补充,详细的看我上一篇博客
<script type="text/javascript"> $(function () { $('pre.prettyprint code').each(function () { var lines = $(this).text().split('\n').length; var $numbering = $('<ul/>').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i <= lines; i++) { $numbering.append($('<li/>').text(i)); }; $numbering.fadeIn(1700); }); }); </script>