Link to markdown specification for markdown fields
authorMagnus Hagander <magnus@hagander.net>
Wed, 17 Aug 2011 18:02:10 +0000 (20:02 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 17 Aug 2011 18:02:10 +0000 (20:02 +0200)
media/js/showdown_preview.js

index c600c1dc54f1ab974b0b877290329bfb7f1b790e..aea321e675cbf61920d42e18f1851d96ec642251 100644 (file)
@@ -30,7 +30,7 @@ function attach_showdown_preview(objid, admin) {
 
        if (!admin) {
           infospan = document.createElement('span');
-          infospan.innerHTML = 'This field supports markdown. See below for a preview.';
+          infospan.innerHTML = 'This field supports <a href="http://daringfireball.net/projects/markdown/basics">markdown</a>. See below for a preview.';
           obj.parentNode.insertBefore(infospan, newdiv);
        }