Vscode-markdown: support footnote and corresponding hotkey

Created on 20 Jun 2018  ·  8Comments  ·  Source: yzhang-gh/vscode-markdown


Hi,

footnote is useful for some kinds of writing, and markdown footnote is not easy to use since we should input [^ft][^ft]: and jump to the location of footnotes manually.

I hope vscode support this function:

  • when we enter a hotkey, [^ftNum] is created in the cursor location,
  • then jump to a corresponding [^ftNum]: in the end of the document.

Looking forward to your reply.

Markdown dialect

Most helpful comment

A solution is to check the existence of that extension before printing, then apply corresponding markdown plugins.

I will do it later.

All 8 comments

I note that you already found another extension Markdown Footnotes. I think that is a good extension to support it. This extension only supports CommonMark and GFM now. Other Markdown dialects will be reconsidered only if there are many people request for them.

Thank you for your answer.

please add the markdown dialect label to #76 too

@neilsustc Using Markdown Footnotes works fine for the VS Code preview window.

But is there a way to hook this into __vscode-markdown__'s Print current document to HTML command?

A solution is to check the existence of that extension before printing, then apply corresponding markdown plugins.

I will do it later.

I was recently using Markdown All In One and also found myself wanting for some footnotes.
Would be greatly appreciated

Will take a look this weekend.

Please try out the dev build.

Was this page helpful?
0 / 5 - 0 ratings