Put the "markitup" directory in your "static" directory.

Include this in in your layout.html file in the <head> section:
<script src="{{=URL('static', 'markitup/jquery.markitup.js')}}"></script>

You might need to add more lines according to the docs:
http://markitup.jaysalvat.com/documentation/

Make sure you do NOT including anything in your routes file about the 
/static directory. The static directory should work without any help from 
the routes.py file. Also make sure that when you edit routes.py that you 
restart web2py. I'm not exactly sure how to do that on Webfaction.

Reply via email to