wreeto_official icon indicating copy to clipboard operation
wreeto_official copied to clipboard

Bold issue

Open Ch0wW opened this issue 4 years ago • 2 comments

Using the Bold markdown with a space leads to undesired behaviour with the WTSIWYG editor, aswell as the final result.

image

Result: image

Ch0wW avatar Sep 28 '20 14:09 Ch0wW

I am sorry for the late reply. I don't think this is an issue. According to the markdown guide:

To bold text, add two asterisks or underscores before and after a word or phrase. To bold the middle of a word for emphasis, add two asterisks without spaces around the letters.

In your first example, it seems that you didn't close the bold asterisks. Even in github **see ** this. And **this ** is bold text something

Or is it something else I am missing ?

chrisvel avatar Oct 01 '20 15:10 chrisvel

Indeed, Markdown didn't support the bold propertly after adding spaces. I wasn't aware of that, so my bad.

However, that gives out another issue with the Markdown parser or the preview editor. Actually, using the same example above, the italic property shouldn't be applied. For the editor, the bold properties shouldn't be seen through the whole sentence. Here's what Github applies below :

**Using a Bold ** text and not delimiting with with a space makes the text parser go crazy, and only parses an italic.

Ch0wW avatar Oct 03 '20 13:10 Ch0wW