Skip to content

Full-featured text extraction from the first H1 heading#3578

Merged
oprypin merged 2 commits intomasterfrom
toc2
Mar 8, 2024
Merged

Full-featured text extraction from the first H1 heading#3578
oprypin merged 2 commits intomasterfrom
toc2

Conversation

@oprypin
Copy link

@oprypin oprypin commented Feb 24, 2024

This partly reverts changes in commit e755aae as some of that functionality will be deprecated.
Several more edge cases are taken into account now.

It now more closely follows the approach that Python-Markdown will take soon.

@waylan This contains code copied from your pull request. (The purpose of copying is to not require a new version of Python-Markdown.) Are you OK with this code being put under the license of this repository?

Oleh Prypin and others added 2 commits February 24, 2024 12:33
This partly reverts changes in commit e755aae as some of that functionality will be deprecated.
Several more edge cases are taken into account now.

Co-authored-by: Waylan Limberg <[email protected]>
@oprypin

This comment was marked as abuse.

@oprypin

This comment was marked as abuse.

Copy link
Contributor

@waylan waylan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I approve the use of the borrowed code. 👍

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Header and navigation sidebars display incorrectly arbitrary markup

2 participants