Browse Source

adding inline instructions to org-color-themes.org

Eric Schulte 10 years ago
parent
commit
d03e2c398f
1 changed files with 13 additions and 3 deletions
  1. 13 3
      org-color-themes.org

+ 13 - 3
org-color-themes.org

@@ -9,16 +9,26 @@
 #+PRIORITIES: A C B
 #+CATEGORY:   worg
 
-#+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>
-
 # 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>
+
 [[file:index.org][{Back to Worg's index}]]
 
 A collection of [[http://www.nongnu.org/color-theme/][color-themes]] with screenshots of their use in Org-mode
 files.  All themes presented here can be installed using the
 [[http://www.nongnu.org/color-theme/][color-theme]] package for Emacs theme management.
 
+# Contributing Screenshots to this page.
+#
+# To make an addition to this page
+# 1) place your screenshot in the /images/screenshots/ directory in the
+#    base of the worg repository
+# 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
+
 # Eric Schulte -- dark color theme
-{{{screenshot(color-theme-railscast.el, http://orgmode.org/img/screenshots/schulte.dark-background.png)}}}
+{{{screenshot(color-theme-railscast.el, schulte.dark-background.png)}}}