Re: Markdown

chombee <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <1180023859.5407.27.camel@marley-20>
Tested on a fair number of posts, seems to work well. Now if only
someone could make a smartypants plugin too :)
http://daringfireball.net/projects/smartypants/

I did find one apparent bug in markdown.py. I see from the webpage that
python markdown is getting active development, so there's a good chance
this will get fixed or has been fixed in svn already. I filed a bug
report with them about this:

It doesn't do markdowns lazy blockquoting. It will convert:

> Jalopy is a 'collaborative website' creator, with a built in, online,
WYSIWYG, editor. This means it is a tool to allow a team to build a
website together. It is integrated with login tools so that pages can
only be created, or edited, by people with a login. Jalopy websites have
a private index through which the site is edited. They also have a
public index that is automatically updated when new pages are added, or
details changed. Jalopy means - a dilapidated old vehicle. Any program I
create is bound to creak around the edges a bit, so I thought it was
appropriate. It also ends in 'py', which is a tradition for projects
written in Python.

Into:

<blockquote><p>Jalopy is a 'collaborative website' creator, with a
built 
</p>
</blockquote><p>in, online, WYSIWYG, editor. This means it is a tool to allow a team to build 
   a
   website together. It is integrated with login tools so that pages can only be
   created, or edited, by people with a login. Jalopy websites have a private
   index through which the site is edited. They also have a public index that is
   automatically updated when new pages are added, or details changed. Jalopy
   means - a dilapidated old vehicle.  Any program I create is bound to creak
   around the edges a bit, so I thought it was appropriate. It also ends in 
   'py',
   which is a tradition for projects written in Python.
</p>

Instead of what it should do:

<blockquote><p>
> Jalopy is a 'collaborative website' creator, with a built in, online,
WYSIWYG, editor. This means it is a tool to allow a team to build a
website together. It is integrated with login tools so that pages can
only be created, or edited, by people with a login. Jalopy websites
have a private index through which the site is edited. They also have
a public index that is automatically updated when new pages are added,
or details changed. Jalopy means - a dilapidated old vehicle. Any 
program I create is bound to creak around the edges a bit, so I thought
it was appropriate. It also ends in 'py', which is a tradition for
projects written in Python.
</p></blockquote>



-------------------------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.