#!/usr/bin/env zsh function writeTOC() { cat <

Table of Content
> > * This will be replaced by the ToC > {:toc} > END } cat config.ymd writeTOC cat <' $fic | wc -l) > 0 )) ((contains_haskell)) && \ print -- "\n
Download the source code of this section → ${fic:h}/${fic:t}\n" cat $fic ((contains_haskell)) && \ print -- "\nDownload the source code of this section → ${fic:h}/${fic:t} \n" done | perl -pe 'BEGIN{$/="";} s#((^>.*\n)+)#
\n\n$1\n
\n#mg' | perl -pe 's#^> ?##' | perl -pe 's/^ #/#/'