Hi,

I'm building a site where I wanna let insert sourcecode in the
comments, but then I clean everything to markdown using html2text.

I don't wanna force to use markdown syntax and i setup
http://code.google.com/p/mooeditable/ for the end-users.

However, I get the problem that html2text not preserve the
indentation, so:

    #!python
    def ejemplo(self):
        print "hola".

is transformed to

 #!python def ejemplo(self): print "hola".

exist a way to cleanly do this? So a normal End-user editor & markdown
can live side by side?


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to