On 20 Apr 2008, at 00:28, Sherwood Botsford wrote:
[...]
Suppose that markdown was clever enough to reference an external
file (in .markdownrc of course) for the resolution of LABEL.
Here’s a simple shell script to convert all markdown to HTML and using
a shared references file:
cd ~/MySite/pages
for f in *.mdown; do
cat "$f" references|Markdown.pl > "../html/${f%.mdown}.html"
done
I use something like that myself where I also have a command to update
my references list, that is, grep through the pages for undefined
references and add these to the references file (where I will then
need to add the URI).
_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss