Please let me know how to insert footnotes in CommonMark

If you’re using markdown-it (a CommonMark compliant JavaScript based parser), you can use the footnote plugin:

Also see the relevant discussion about adding footnotes to CommonMark was an extension with this syntax: