erusev / parsedown

Better Markdown Parser in PHP

Home Page:https://parsedown.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Underline markdown change

StrangerGithuber opened this issue · comments

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>
  2. *Test* to <i>Test</i>
  3. __Test__ to <u>Test</u>
  4. ~~Test~~ to <strike>Test</strike>

How can I can change?

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

:D

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