Re: Markdown
chombee <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <1179942670.5436.20.camel@marley-20> |
On Wed, 2007-05-23 at 12:52 -0400, will wrote:
> Make sure your entry files have the extension ".mdwn" instead of
> ".txt" and see if that fixes your problem.
Yeah, thanks. That's different to how Perl markdown+blosxom works, but
it's quite a good idea I guess.
Seems to be working fine now.
I kept finding HTML_REMOVED in my posts. Seems that by default
markdown.py strips HTML out instead of just letting it go through like
markdown.pl does. So I changed this bit:
def parse(story):
return str(markdown.Markdown(story,safe_mode=False))
In pymarkdown.py (that's the pyblosxom plugin bit) adding the
safe_mode=False, now it lets my HTML through.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/