Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add footnotes to imenu #235

Closed
blaenk opened this issue Aug 8, 2017 · 2 comments
Closed

add footnotes to imenu #235

blaenk opened this issue Aug 8, 2017 · 2 comments

Comments

@blaenk
Copy link

blaenk commented Aug 8, 2017

It would be nice (even if opt-in) to be able to see footnote definitions from imenu.

@jrblevin
Copy link
Owner

Thanks for this suggestion. I just want to be sure I understand what you mean: this would be perhaps a "Footnotes" menu at the bottom of the "Index" menu with entries like "fn1", "fn2", etc. (corresponding to the footnote references)?

@blaenk
Copy link
Author

blaenk commented Aug 10, 2017

Exactly, just to be sure, the actual name of the footnote would appear. So if I have:

Some sentence containing a [^advisory] footnote within.

[^advisory]: Do this at your own risk.

Then imenu would show something like Footnotes / advisory, and that's right, it would jump to the definition (second line there), since there could be multiple references to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants