. tests/functions.sh title "markdown extra-style footnotes" rc=0 MARKDOWN_FLAGS= FOOTIE='I haz a footnote[^1] [^1]: yes?' try -ffootnote 'footnotes (-ffootnote)' "$FOOTIE" \ '
I haz a footnote1
I haz a footnote1
I haz a footnote^1
' TSRC='Alpha[^AlphaF]. Column 1 | Column 2 ---------------------------------|-------------------------- Beta[^BetaF] | cell [^AlphaF]: Alpha Footnote [^BetaF]: Beta Footnote' TOUT='Alpha1.
| Column 1 | Column 2 |
|---|---|
| Beta2 | cell |
Test test1
Test22
Test33
Test44
' try -ffootnote 'footnotes inside spans' "$TSRC" "$TOUT" for x in tests/data/f??.text;do result=`echo $x | sed -e 's/.text$/.html/'` try -ffootnote "`basename $x`" "`cat $x`" "`cat $result`" done summary $0 exit $rc