Footnote support in editor


#1

I like to use footnotes for links or citations in my blog posts. I make it work with the markdown editor and I’d like to see it added to the new editor, Koenig.


✨ Koenig Editor - Beta Release
Markdown footnote syntax bug?
#2

In particular footnotes across Markdown cards. (Footnotes are currently only supported when the footnote reference and the footnote occur in the same Markdown card.)


#3

Manually created footnotes are currently supported in Ghost 2.0’s editor. As an example, you can type ^[1]^ to create superscript formatted text like [1] then you can select it and apply a link, eg. “#my-footnote”. Then at the bottom of your document you can have a HTML or markdown card containing the named links and formatted in any way you want.


#4

I was about to submit this issue :slight_smile:
(kind of bummed that it’s open since june :confused: )


#6

Oh, the answer to this idea is in another topic:


#7

Are there plans to support footnotes? Maybe a “notes” card?

Would we run into the same problem as with Markdown cards?


#8

Thanks for the workaround, but this actually isn’t a great solution for me. I liked the Ghost 1.0 automatic inclusion of footnotes, and almost every post in my blog utilizes footnotes for references at the end of each post. If there’s a better way to include references, I would be willing to use this, but I think this is blocking me from upgrading to Ghost 2.0 until there is a good solution for this without having to go through and manually change every blog post when I upgrade.

In terms of the cross-card support for footnotes, would it be possible to simply add support for footnotes that aren’t cross-card for now (i.e. identify footnotes as only being able to work within a single card), and push that implementation, so that existing blog posts that use this feature aren’t broken when upgrading from Ghost 1.0?


#9

You won’t need to touch any old posts when you upgrade. All posts created before 2.x use a single markdown card (markdown cards use the same editor as 1.x) so your footnotes will continue to work.

That’s already how 2.x works, this forum idea is about adding footnote support outside of the markdown card and/or support for footnotes across multiple markdown cards within the same post.


#10

Oh, my bad. Thanks for clearing that up.


#11

So if I’m reading this correctly the old markdown format to produce footnotes basically doesn’t work, and it is necessary to manually create the links? That is a major step back from what I can see.

I was just writing something up and I wanted three footnotes in a sentence. For the sake of argument I was writing many [^1] things [^2] are useful [^3] and this used to give me three nice footnote links. Unfortunately now it superscripts everything between the ^1 and the the s[ and doesn’t give me any links at all.

Even opening up a markdown pane and attempting it all in there isn’t working for me, so I’m a little confused.

Have I just misunderstood something, or has that feature actually gone?


#12

There is no automatic footnote support in the rich-text editor, you need to create links yourself manually. You can create superscript using the format ^[1]^ which you can then add a link to if that’s how you want to format your footnotes.

Footnote support inside a markdown card is the same as it was in 1.x.


#13

While this is true, I wanted to modifiy my old post in order to use the new image cards, and I can’t on posts that also have footnotes.

Also, I’d rather avoid using a workaround if footnotes are going to be supported in a future version.

Thank you for your answers


#14

I hope that footnotes come back in the future. The footnote support used to be first class, and was very valuable.


#15

I don’t know what footnote support used to be like on ghost but I’m voting for it because footnotes are valuable to anyone who writes researched content.

FWIW, one of the best examples of WYSIWYG footnote support that I’ve seen in web-based editors is prosemirror’s example: https://prosemirror.net/examples/footnote/

I really like that I don’t have to (1) keep track of markdown references to footnotes, (2) scroll to the end to find them, or (3) edit footnotes inline with the rest of the text.


#16

thank สมัคร ufabet:DDD


#17

Agreed.

As for displaying footnotes, I also like the way Randall Munroe does it on “What if?”:
https://what-if.xkcd.com/153/