Parcourir la source

Explain how to attach images

Bob Mottram il y a 8 ans
Parent
révision
c19f37f05f
Aucun compte lié à l'adresse email de l'auteur
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5
    0
      src/freedombone-mesh-blog

+ 5
- 0
src/freedombone-mesh-blog Voir le fichier

@@ -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