Jekyll<\/a>\u662f\u4e00\u6b3e\u9759\u6001\u535a\u5ba2\u751f\u6210\u5668\uff0c\u4e5f\u662fgithub page\u652f\u6301\u7684\u540e\u53f0\u5f15\u64ce\uff0c\u6240\u4ee5\u5982\u679c\u4f60\u6709\u4ee5\u4e0b\u9700\u6c42,\u6781\u529b\u63a8\u8350\u4f7f\u7528jekyll\u642d\u5efa\u535a\u5ba2\uff0c>>\u6d4f\u89c8\u6211\u7684\u535a\u5ba2<\/a><\/p> \n \u672c\u6559\u7a0b\u9002\u5408\u4efb\u4f55\u4eba\u7fa4\uff0c\u5f53\u7136\u5982\u679c\u4f60\u6709HTML\u548cCSS\u57fa\u7840\u5c06\u4f1a\u66f4\u597d\u3002\u4f60\u53ef\u4ee5\u5feb\u901f\u5730\u5728\u51e0\u4e2a\u949f\u4e4b\u5185\u642d\u5efa\u81ea\u5df1\u7684\u535a\u5ba2\u3002<\/p> \n \u5982\u679c\u4f60\u4f7f\u7528\u8fc7github\uff0c\u5e94\u8be5\u77e5\u9053github page\u670d\u52a1\uff0c\u4f60\u53ef\u4ee5\u5728\u4e24\u4e2a\u949f\u5185\u4e86\u89e3\u535a\u5ba2\u5728github\u4e0a\u662f\u5982\u4f55\u751f\u6210\u7684\uff0c\u4e0d\u9700\u8981\u4e00\u5f00\u59cb\u5c31\u914d\u7f6e\u5f88\u591a\u4e1c\u897f\uff0c\u6240\u6709\u64cd\u4f5c\u5728\u6d4f\u89c8\u5668\u4e0a\u5b9e\u73b0\u3002<\/p> \n \u901a\u8fc7\u4e0a\u9762\u7684\u5165\u95e8\u4e4b\u540e\uff0c\u4f60\u5e94\u8be5\u77e5\u9053\u4e86\u5982\u4f55\u5728\u7f51\u9875\u4e0a\u642d\u5efa\u7b80\u5355\u7684\u535a\u5ba2\uff0c\u4f46\u662f\uff0c\u7531\u4e8e\u5728\u670d\u52a1\u5668\u4e0a\u642d\u5efa\u60f3\u8981\u5b9e\u65f6\u9884\u89c8\u4f1a\u6bd4\u8f83\u6162\uff0c\u6240\u4ee5\u5efa\u8bae\u5728\u672c\u5730\u4e0a\u642d\u5efa\u81ea\u5df1\u7684\u535a\u5ba2\u7136\u540e\u8fdb\u884c\u4fee\u6539\uff0c\u642d\u5efa\u4e4b\u524d\uff0c\u5f97\u6709\u8fd0\u884c\u73af\u5883\u3002\u7531\u4e8e\u535a\u5ba2\u662f\u5229\u7528jekyll\u6280\u672f\u5b9e\u73b0\u7684\uff0c\u800cjekyll\u7684\u5e95\u5c42\u5f15\u64ce\u662fruby\uff0c\u6240\u4ee5\u6211\u4eec\u9700\u8981\u5b89\u88c5ruby(\u4f46\u662f\u4e0d\u7528\u62c5\u5fc3\u4e0d\u4f1aruby\uff0c\u56e0\u4e3a\u6839\u672c\u4e0d\u9700\u8981\u4f7f\u7528ruby\u8bed\u8a00)\u3002 2\u3001 \u5b89\u88c5jekyll \u7136\u540e\u5728cmd\u547d\u4ee4\u884c\u4e0a\u8f93\u5165 cmd\u547d\u4ee4\u884c\u4e0b\u8f93\u5165<\/p> \n \u7136\u540e\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u8f93\u5165 \u5f53\u7136\uff0c\u4f60\u53ef\u4ee5\u5c06\u4f60\u7684\u535a\u5ba2\u6258\u7ba1\u5728Github Pages<\/a>\u4e0a<\/p> \n \u81ea\u5df1\u4ece\u5934\u642d\u5efa\u4e00\u4e2a\u535a\u5ba2\u591a\u7d2f\u5440\uff0c\u4f60\u53ef\u4ee5\u7528\u6211\u7684\u6a21\u677f\uff0c\u4e5f\u53ef\u4ee5\u5230\u4e3b\u9898\u5e93\u6311\u9009\u5404\u79cd\u70ab\u9177\u6a21\u677f\uff0c\u7136\u540e\u4e0b\u8f7d\u81ea\u5df1\u6539\u9020\u3002<\/p> \n \u5199\u535a\u5ba2\u4f7f\u7528\u7684\u662fmarkdown\u8bed\u6cd5\uff0c\u4e00\u79cd\u7b80\u5355\u7684\u6807\u8bb0\u8bed\u8a00\uff0cgithub\u5b98\u65b9\u6807\u914d\uff0c\u8fd9\u91cc\u63a8\u8350typora<\/a>\u7f16\u8f91\u5668<\/p> \n \u672c\u4e3b\u9898\u91c7\u7528\u7684\u662fkramdown Syntax<\/a>\uff0c\u76ee\u524d\u6211\u4e86\u89e3\u7684\u6700\u5f3a\u7684markdown\u8bed\u8a00\u3002<\/p> \n \u5982\u679c\u8fd9\u4e48\u591a\u4e3b\u9898\u90fd\u5165\u4e0d\u4e86\u4f60\u7684\u6cd5\u773c\uff0c\u53ef\u4ee5\u81ea\u5b66\u642d\u5efajekyll\u535a\u5ba2\uff0c\u4ee5\u4e0b\u8d44\u6599\u63d0\u4f9b\u53c2\u8003<\/p> \n \n
\u5165\u95e8<\/h2> \n
\n
\u5f00\u59cb\u642d\u5efa<\/h2> \n
1\u3001 \u5b89\u88c5ruby<\/p> \n \n
\u8d44\u6e90\u4e0b\u8f7d\u4e0b\u6765\u540e\u548cwindows\u666e\u901a\u8f6f\u4ef6\u4e00\u6837\u5b89\u88c5\u5c31\u884c\uff0c\u5728CMD\u7ba1\u7406\u5458\u6743\u9650\u4e0b\u5229\u7528gem update --system<\/code>\u8fdb\u884c\u66f4\u65b0\u3002<\/li> \n <\/ul> \n
\u56fd\u5185\u7528\u6237\u53ef\u80fd\u4e0b\u8f7d\u8fc7\u6162\uff0c\u6559\u4f60\u4e00\u62db\uff0c\u66f4\u6362ruby\u6e90\u3002<\/p> \n gem sources --remove https:\/\/rubygem.org\/\ngem source -a https:\/\/gems.ruby-china.org\/<\/code><\/pre> \n
gem install jekyll<\/code>\u5c31ok\u4e86\u3002<\/p> \n
\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u535a\u5ba2<\/h2> \n
jekyll new blog\ncd blog \njekyll serve<\/code><\/pre> \n
localhost:4000<\/code>\u5c31\u53ef\u4ee5\u770b\u89c1\u81ea\u5df1\u7684\u535a\u5ba2\u4e86\uff0c\u5c55\u793a\u51fa\u6765\u7684\u662f\u9ed8\u8ba4\u6a21\u677f<\/p> \n
\u4e3b\u9898<\/h2> \n
\n
MD\u7f16\u8f91\u5668\u63a8\u8350<\/h2> \n
MD\u8bed\u6cd5<\/h3> \n
\u53c2\u8003\u8d44\u6599<\/h2> \n
\n