-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
New ToC and Footnotes data structures #5087
Comments
Is it unrealistic to keep
Or the same as your comment above by adding the |
I know you mentioned in the forums you're already thinking of even cooler ways to implement this, but piggybacking on my comment above, the ability to set this globally would be pretty slick too. Something to the effect of |
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Go 1.11 is right around the corner. With that comes Go modules, which should solve the versioning issues we currently have with an upgrade to Blackfriday v2. I have started some investigations in another project.
The goal of this first "sprint" is to
This issue discusses 2) Above.
For ToC we currently have this HTML
.TableOfContents
blob. We cannot remove that over night so I suggest we add a new "container" in Page that contains Markdown-related metadata..MD.TableOfContents
?That object will in the first go contain two data structures:
.TableOfContents
.Footnotes
For
TableOfContents
, I suggest a list of:For
Footnotes
I suggest a list of:Instead of
Link
maybe we should just reuse the termRelPermalink
etc.Note that the
Footnotes
list is meant to be used to render "somewhere else" in a template, so we also need a way to not render it in the main content.The text was updated successfully, but these errors were encountered: