Thadeus mentioned that he used WMD on his blog. I have tried to get it working by putting the following in layout.hml:
<script type="text/javascript"> // to set WMD's options programatically, define a "wmd_options" object with whatever settings // you want to override. Here are the defaults: wmd_options = { // format sent to the server. Use "Markdown" to return the markdown source. output: "HTML", // line wrapping length for lists, blockquotes, etc. lineLength: 40, // toolbar buttons. Undo and redo get appended automatically. buttons: "bold italic | link blockquote code image | ol ul heading hr", // option to automatically add WMD to the first textarea found. See apiExample.html for usage. autostart: true }; </script> <script type="text/javascript" src="wmd/wmd.js"></script> </body> </html> But this seems to be ignored. As I understand the instructions this should be just before </body> so I cannot see where else to put it. What am I doing wrong? Johann -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.