Browse Source

fixed bug in org-color-themes.org macro

Eric Schulte 10 years ago
parent
commit
bcd4040817
1 changed files with 6 additions and 4 deletions
  1. 6 4
      org-color-themes.org

+ 6 - 4
org-color-themes.org

@@ -12,7 +12,7 @@
 # This file is the default header for new Org files in Worg.  Feel free
 # to tailor it to your needs.
 
-#+MACRO: screenshot #+HTML: <br style="clear:both;"/><div class="figure"><p><img style="float:center;margin:20px 20px 20px 20px;" width="500px" src="http://orgmode.org/img/screenshots/$2"/></p><p><a href="http://orgmode.org/worg/sources/color-themes/$1">$1</a></p></div>
+#+MACRO: screenshot #+HTML: <br style="clear:both;"/><div class="figure"><p><img style="float:center;margin:20px 20px 20px 20px;" width="500px" src="$2"/></p><p><a href="http://orgmode.org/worg/sources/color-themes/$1">$1</a></p></div>
 
 [[file:index.org][{Back to Worg's index}]]
 
@@ -24,11 +24,13 @@ files.  All themes presented here can be installed using the
 #
 # To make an addition to this page
 # 1) place your screenshot in the /images/screenshots/ directory in the
-#    base of the worg repository
+#    base of the worg repository -- or not if you'd rather host the
+#    image externally
 # 2) place your color-theme-*.el file in the /color-themes/ file in the
 #    base of the worg repository
 # 3) add a macro call like those shown below passing the name of your
-#    color theme and screen-shot respectively to the =screenshot= macro
+#    color theme and the link to your screen-shot respectively to the
+#    =screenshot= macro
 
 # Eric Schulte -- dark color theme
-{{{screenshot(color-theme-railscast.el, schulte.dark-background.png)}}}
+{{{screenshot(color-theme-railscast.el, http://orgmode.org/worg/images/screenshots/schulte.dark-background.png)}}}