瀏覽代碼

Explain how to attach images

Bob Mottram 8 年之前
父節點
當前提交
c19f37f05f
沒有帳戶連結到提交者的電子郵件
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. 5
    0
      src/freedombone-mesh-blog

+ 5
- 0
src/freedombone-mesh-blog 查看文件

@@ -92,6 +92,11 @@ function new_blog {
92 92
     echo  '' >> ~/.new-blog-entry
93 93
     echo $'Add your text here' >> ~/.new-blog-entry
94 94
     echo  '' >> ~/.new-blog-entry
95
+    echo $'To include an image copy it into the ~/CreateBlog/content/images directory,' >> ~/.new-blog-entry
96
+    echo $'Then link to it with:' >> ~/.new-blog-entry
97
+    echo  '' >> ~/.new-blog-entry
98
+    echo $'![My image]({filename}images/myimage.jpg)' >> ~/.new-blog-entry
99
+    echo  '' >> ~/.new-blog-entry
95 100
 
96 101
     $BLOG_EDITOR ~/.new-blog-entry
97 102