swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit b402f434e4d59ed84302ef4c33501522aab56344
parent 5bac5f151741e5b0c7932b70359664124c969602
Author: Uriel <u@berlinblue.org>
Date:   Tue, 19 Jan 2010 00:31:55 +0000

Note about bug where markdown references are used in blog posts.
Diffstat:
Mapps/blagh/app.rc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc @@ -78,6 +78,8 @@ fn blagh_body { sed '1s!.*![&]('^$l(2)^') ('^$l(1)^')!' < $p/index.md echo # Needed extra \n so markdown doesn't mess up the formatting, probably can be done in sed. } + # XXX BUG! Markdown [references] break because multiple markdown documents are merged. Should format each blog post independently. + # TODO: use fltr_cache directly, that can fix the previous bug plus provide a perf boost by caching title generation. } | $formatter }