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

Feature markdown add id extension #266

Merged

Conversation

Alihtt
Copy link
Collaborator

@Alihtt Alihtt commented Nov 11, 2024

This feature can add id to any text element in markdown using {#custom-id} syntax, e.g.,
###### h6 Heading {#h6-heading-id} will parse to <h6><span id="h6-heading-id">h6 Heading</span></h6>
, for easy linking and navigation.

@Alihtt Alihtt requested a review from agusmakmun November 11, 2024 17:50
@agusmakmun agusmakmun merged commit 3efb54c into agusmakmun:master Nov 14, 2024
24 checks passed
@agusmakmun
Copy link
Owner

Thank you so much @Alihtt for contributing this new feature, it's now published in the newest version:

pip install martor==1.6.45

@Alihtt Alihtt deleted the feature-markdown-add-id-extension branch November 15, 2024 15:20
@Alihtt
Copy link
Collaborator Author

Alihtt commented Nov 17, 2024

Thanks for accepting my PR ❤️

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.

2 participants