Browse files

Added bookmarklet and todo

  • Loading branch information...
1 parent c6721fd commit d38aed9a354dbf3917fba03502ea2c698ee38dad @alexdunae committed Nov 29, 2010
Showing with 12 additions and 0 deletions.
  1. +12 −0 README.markdown
@@ -21,6 +21,18 @@ Link the script at the end of your HTML email file and view the file in your bro
<script src="cm-preview.js"></script>
+You can also created a bookmarklet with the following address:
+ javascript:var cmp=document.createElement('script');cmp.type='text/javascript';cmp.src='';var s=document.getElementsByTagName('body')[0];s.parentNode.insertBefore(cmp,s);" style="border: 1px solid #CCC; background-color: #EEE; padding: 5px;
+## TODO
+* test, test, test
+* wrap elements in `a` tags if `link=true`
+* add support for `tableofcontents`
+* handle the rest of [Campaign Monitor's template tags](
This is a rough-and-ready little script, lightly tested in Safari, Chrome and Firefox. It's released under the MIT license. Patches and improvements are most welcome.
Created by Alex Dunae at [Dialect](

0 comments on commit d38aed9

Please sign in to comment.