-
Notifications
You must be signed in to change notification settings - Fork 863
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 for strikethrough #221
Comments
Thanks for your polite request. Unfortunately, It is not clear to me whether you are requesting that striketrough be added as a default behavior of Markdown, or as an optional extension. As stated in our project goals, the default behavior of Python-Markdown should not deviate from the Markdown syntax rules. As strikethrough is not mentioned in the rules, we will not be adding it to Python-Markdown as a default behavior. If you are requesting an extension, that might be considered (although extremely unlikely). Why does it need to be shipped with Python-Markdown? Why can't it exist as a third party extension? In fact, how is some new markup better that just using inline raw html (
In my opinion, the simplicity of using raw del tags isn't enough motivation for me to implement and maintain an extension. Especially when considering the markdown philosophy above. Of course, you're free to disagree with me. But that's why we have an Extension API. You can implement whatever changes to the syntax that you want. In fact, if you want to write the extension yourself, you might want to take a look at this tutorial which steps you through the process of creating an extension. It happens to implement strikethrough, among other things. You are free to take that code and do what you want with it. I only wrote if for demonstration purposes and have no need to use it or desire to maintain it. |
Hi! Thank you so much for your response. I completely understand your position. The reason I was making this request is because Bitbucket uses your library to parse Markdown and they have indicated they won't use any extensions either. In addition, the I will push Bitbucket to support some extensions or at least the Thanks again! |
Hello guys, Goal for example: |
@Friz-zy, not sure what the calendar year has to do with anything. We will change the default behavior when the syntax rules change (granted, that seems highly unlikely). Of course, you can write your own extensions which change the behavior in any way you want. In fact, many have. Perhaps you will find an existing extension that meets your needs. |
https://facelessuser.github.io/pymdown-extensions/extensions/tilde/ maybe you want this. |
I couldn't find it in the docs, are issues for the included extensions tracked here or in separate repos? If separate repos, it would be good to link them in the docs... This would fit in the |
https://facelessuser.github.io/pymdown-extensions/extensions/tilde/ they're are probably others too. |
We formally (and politely) request support for strikethrough. We use Bitbucket, and they indicated we should make this request here. Thank you for your time and consideration!
The text was updated successfully, but these errors were encountered: