Skip to content

Commit

Permalink
Updated Image Instructions
Browse files Browse the repository at this point in the history
Added support for hosted images and cleaned up image syntax because
  • Loading branch information
Jared Morgan committed Mar 16, 2015
1 parent a7f43d6 commit da224cf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion images/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ To add images to your blog posts:
+
[source,AsciiDoc]
----
image::http://github.com/<username>/<repositoryName>/images/<filename>[]
image::<filename>[]
----
. See http://asciidoctor.org/docs/asciidoc-writers-guide/ for complex examples of Image syntax.

If you are embedding images from a hosted source -- such as instagram, another GitHub repository, or any photo hosting sites -- put the full URL to the image in place of the `<filename>`.

.Hosted Image Embed
----
image::http://<full path to image>[]
----

0 comments on commit da224cf

Please sign in to comment.