Re: [dwm] Markdown-like filter written in awk

From: y i y u s <yiyu.jgl_AT_gmail.com>
Date: Mon, 20 Aug 2007 20:20:15 +0200

It doesn't work because you don't finish with a blank line, which is
the mark for a new paragraph (as it works in latex, and as it works in
markdown), with the little modification in the attached .diff it
should work without the blank line at the end, but the links in the
file http://s01.de/~gottox/site/fooder.txt will appear all them in the
same line. This behaviour is intended, so you can wrap your text.
btw: blank lines are supposed to be /^$/ now, markdown considers a
blank line /^[ \t]*$/, change it if this is a problem.

Thanks for testing it, gottox!

2007/8/20, Enno Gottox Boland <gottox_AT_gmail.com>:
> Nice! but I have some trouble using it on my documents:
>
> http://s01.de/~gottox/site/navigation.txt
> http://s01.de/~gottox/site/maninthemiddle.txt (</ul> is missing)
> http://s01.de/~gottox/site/fooder.txt
>
> 2007/8/20, y i y u s <yiyu.jgl_AT_gmail.com>:
> > This awk filter was written to replace markdown.pl from diri. I think
> > it works (I have tested it with some of the pages in the wiki), but I
> > ask everybody to test it and review it. I am not an awk expert and I'm
> > sure things can be done in a better way (the links implementation is a
> > bit tricky, for example). There are some markdown features which are
> > missing, but if they are needed probably they could be added.
> > I hope to see your comments, ciao!
> >
> > --
> >
> >
> > - yiyus || JGL .
> >
> >
>
>
> --
> http://www.gnuffy.org - Real Community Distro
> http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
>
>

-- 
- yiyus || JGL .

Received on Mon Aug 20 2007 - 20:20:21 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:50:25 UTC