You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This time, I want to change the character which used to combine lines in paragraph.
Concretely, this markdown:
This is
a markdown.
will be parsed into:
This is a markdown.
As you see a space was inserted, and this behavior is suitable for languages which use word dividers, but not for some languages which doesn't use it such as Japanese or Chinese. So I want to remove this space.
I found that I can make it realized by changing '\n' to '' on the line 242 in Parsedown.php, but I don't want to tinker the original code.
Is there any solution without changing Parsedown.php itself but with extension?
Thanks
The text was updated successfully, but these errors were encountered:
Something I would advise is opening this issue with the CommonMark spec, maybe a fix could be reached that could be applied to all parsers conforming to the spec in certain situations.
First of all, thanks a lot for your great work!
This time, I want to change the character which used to combine lines in paragraph.
Concretely, this markdown:
will be parsed into:
As you see a space was inserted, and this behavior is suitable for languages which use word dividers, but not for some languages which doesn't use it such as Japanese or Chinese. So I want to remove this space.
I found that I can make it realized by changing
'\n'
to''
on the line 242 in Parsedown.php, but I don't want to tinker the original code.Is there any solution without changing Parsedown.php itself but with extension?
Thanks
The text was updated successfully, but these errors were encountered: