On Wednesday, February 23, 2011 06:36:46 am Jonas Geiregat wrote: > Hello, > > I love markdown for writing content on websites. I use it almost all the > time when I'm working with django. > > The only issue I hate is that the default django admin interface gives you > a standard textfield. There's nothing wrong with that but when you're > pasting some code on let's say a blog you need to prepend each line of > code with 4 spaces (or a tab). You can imagine that if you have several > lines of code this is frustrating. > > So my question is, how do you come around this issue or are there any > decent editors that work well with markup ? > > Regards, > > Jonas.
tried tinymce[1]? Here is the best (IMO) way to do it.[2] Others have editted the admin templates to intregrate tinymce into the admin, but I think this is counter-productive. Also this exists: http://code.google.com/p/django-tinymce/ Mike [1] http://tinymce.moxiecode.com/ [2] http://stackoverflow.com/questions/1883135/django-admin-tinymce- integration -- How should I know if it works? That's what beta testers are for. I only coded it. -- Attributed to Linus Torvalds, somewhere in a posting -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.