Skip to content

Conversation

colorfulshark
Copy link

To insert a image, you just need to:

  1. Add a new directory in "assets/posts" whose name is the same as
    your post file name, e.g, 2013-12-26-images. Then add a directory
    named "images" in that directory. Now you will have a directory
    "assets/posts/2013-12-26-images/images". Puts all images that you
    need into the directory "images".
  2. Insert following code in markdown file:
    {% include _res/image name="image-full-name" %}. Notice that the
    "image-full-name" is the full file name of your image.
  3. Rebuild.

To insert a image, you just need to:
1. Add a new directory in "assets/posts" whose name is the same as
   your post file name, e.g, 2013-12-26-images. Then add a directory
   named "images" in that directory. Now you will have a directory
   "assets/posts/2013-12-26-images/images". Puts all images that you
   need into the directory "images".
2. Insert following code in markdown file:
   {% include _res/image name="image-full-name" %}. Notice that the
   "image-full-name" is the full file name of your image.
3. Rebuild.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant