ktistec icon indicating copy to clipboard operation
ktistec copied to clipboard

Feature Request: Footnotes

Open worstname opened this issue 1 year ago • 2 comments

Greetings. Would it be possible and/or desirable to add a footnotes functionality to the editor? I often write about books and such and so having a simple way to refer to page numbers, titles etc. makes footnotes desirable.

worstname avatar Mar 24 '23 16:03 worstname

writing long form was/is a long-term goal for ktistec (vs. tweeting/tooting/etc.) so i think it's a good suggestion. can you point me to a platform that you think does it well (vs. just forcing users to use super/sub-scripts and manually creating them).

toddsundsted avatar Mar 24 '23 16:03 toddsundsted

can you point me to a platform that you think does it well (vs. just forcing users to use super/sub-scripts and manually creating them).

Truthfully, I have yet to see a good implementation of footnotes in a WYSIWYG editor. What I use regularly is the more manual process in markdown: https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/

Which I don't think is too bad. Main thing is that the footnotes should have links both ways when rendered so the reader can easily click a footnote, read it, and then click the footnote again to jump back to where they were reading. For some reason a lot of sites get that wrong.

Perhaps what could be done is a button that more or less automates this:

  1. User clicks footnote button
  2. Prompts for footnote text
  3. Places footnote number where the cursor is and places corresponding footnote at end of post.

worstname avatar Mar 24 '23 16:03 worstname