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

Support entry.toc for HTML as well #498

Open
fluffy-critter opened this issue Oct 19, 2022 · 0 comments
Open

Support entry.toc for HTML as well #498

fluffy-critter opened this issue Oct 19, 2022 · 0 comments
Labels
enhancement New feature or request html Issues pertaining to HTML handling
Milestone

Comments

@fluffy-critter
Copy link
Collaborator

Expected Behavior

entry.toc could be extended to support HTML <h1> et al tags, rather than being limited to Markdown ### markup.

Possible Solution

Make TOC generation a post-filter for the HTML, rather than part of the markdown.HtmlRenderer header() handler.

This would also allow entry.toc to work on Markdown entries which use HTML header tags for whatever reason.

Steps to Reproduce (for bugs)

Context

@fluffy-critter fluffy-critter added enhancement New feature or request html Issues pertaining to HTML handling labels Oct 19, 2022
@fluffy-critter fluffy-critter added this to the 1.0 milestone Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request html Issues pertaining to HTML handling
Projects
None yet
Development

No branches or pull requests

1 participant