In django-admin, $ does not = jQuery.  Changing $.trim() to jQuery.trim() fixes:
https://github.com/klen/django_markdown/issues/32
Merge pull request #34 from tomoconnor/fix_trim_issue_32

In django-admin, $ does not = jQuery.  Changing $.trim() to jQuery.trim(...