erusev / parsedown

Better Markdown Parser in PHP
https://parsedown.org
MIT License
14.69k stars 1.12k forks source link

Underline markdown change #749

Open StrangerGithuber opened 4 years ago

StrangerGithuber commented 4 years ago

Hello How can I make that the __Something__ will not be bold text but underlined text? Because when I am using the script then it shows as bold text. I created a Discord chat bot and I am trying to create a dashboard for that. I am using turndown script to convert and save in the database the markdown text and as editor I am using the tinymce. The discord app recognize the __Something__ markdown text as an underlined text but this parsedown recognize as a bold text. So I am trying to do so:

  1. **Test** to <b>Test</b>
    1. *Test* to <i>Test</i>
    2. __Test__ to <u>Test</u>
    3. ~~Test~~ to <strike>Test</strike>

How can I can change?

MerryPanda commented 4 years ago

I agree, it is more logical to use __word__ for underlines. No need for multiple tags with the same effect

:D

JohnKlein985 commented 3 years ago

One year later and underline is still not possible...?