You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
legends2k
changed the title
Markdown .TableOfContents doesn't respect text formatting
Markdown .TableOfContents ignores strikethrough in headings
Dec 22, 2020
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.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
Strikethrough text in headings seems to be stripped out and only the text is output by
.TableOfContents
.Tested in Hugo version: v0.79.1
Source format of content: markdown
I've a heading with strikethrough (e.g.
~~world~~
) like thisHello
worldwhich renders with a strikethrough in normal page rendering. However on the TOC list I see
Hello world
Live example
The text was updated successfully, but these errors were encountered: