Adding images can be done two ways:
- You don't host the image and just use the url from a third party website.
- You want to host the image on Github.
If you want to host the image, here how it's done:
- Go to the
mediafolder. - Click on the
add filebutton on the upper right corner. - In the dropdown menu, click
upload file. - You arrive in a new page where you can drag and drop your images, do it!
- Once all the images you wanted are uploaded, click on the
commit changesbutton below.
Either if you used an existing URL or uploaded a file, you will need to use the Markdown syntax for images to make them visible in your website.
In the page you want to put the image in, use this Markdown syntax: .
- If you use an existing URL, replace
url_of_imagewith the url. - If you uploaded a file on github, just write the name of the file (example: my-image.jpg)
In the second case, Chīsai will automatically create the url for you, so don't bother with it and just use the file name!
But maybe images are too much web 1.0 and you want to next big thing: youtube videos!