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

fix: change attribute name from markdown to md in the Plugin class #406

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

impocode
Copy link
Contributor

@impocode impocode commented Jan 9, 2025

Hello! My linter shows a warning like this due to incorrect naming.

image_2025-01-09_15-53-22

import mistune
from mistune.plugins.formatting import strikethrough

from mistune_telegram import TelegramMarkdownV2Renderer

formater = mistune.create_markdown(renderer=TelegramMarkdownV2Renderer(), plugins=[strikethrough])

@lepture lepture merged commit 042a806 into lepture:master Jan 11, 2025
15 checks passed
@lepture
Copy link
Owner

lepture commented Jan 11, 2025

Thanks

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