极简设计

OmniMarkupPreviewer改造

在mac下用sublime text3 with markdownEditing,OmniMarkupPreviewer写文

blog中的图片格式 ![xx](/blog/xxx/xx.png)

OmniMarkupPreviewer渲染时404

根据chrome 里报的File does not exist.搜源码 /Users/dd/Library/Application Support/Sublime Text 3/Packages/OmniMarkupPreviewer/OmniMarkupLib/libs/bottle.py

上面加上

filename=filename.replace("/_posts/{{site.url}}","")
root=root.replace("/_posts/{{site.url}}","")

in jekyll with : Jekyll