. 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


  1. yes?

' try -ffootnote -Cfoot 'footnotes (-ffootnote -Cfoot)' "$FOOTIE" \ '

I haz a footnote1


  1. yes?

' try -fnofootnote 'footnotes (-fnofootnote)' "$FOOTIE" \ '

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

  1. Alpha Footnote

  2. Beta Footnote

' try -ffootnote 'footnotes inside table elements' "$TSRC" "$TOUT" TSRC='[Test test[^test]](class:test) Test2[^testtwo] Test3[^testthree] Test4[^testfour] [^test]: Test footnote [^testtwo]: Test2 footnote [^testthree]: Test3 footnote [^testfour]: Test4 footnote' TOUT='

Test test1

Test22

Test33

Test44


  1. Test footnote

  2. Test2 footnote

  3. Test3 footnote

  4. Test4 footnote

' try -ffootnote 'footnotes inside spans' "$TSRC" "$TOUT" summary $0 exit $rc