Quellcode durchsuchen

Explain how to attach images

Bob Mottram vor 9 Jahren
Ursprung
Commit
c19f37f05f
Es ist kein Account mit dieser Commiter-Email verbunden
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 5
    0
      src/freedombone-mesh-blog

+ 5
- 0
src/freedombone-mesh-blog Datei anzeigen

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