markdown-it-py icon indicating copy to clipboard operation
markdown-it-py copied to clipboard

Multiline bold

Open humbertogontijo opened this issue 2 years ago • 2 comments

Describe the bug

context When I do

**and this sentence should
be bolded**

expectation I expected all text to be bold.

bug But instead I get same text as parse input

Reproduce the bug

Just check token from: markdown_it.MarkdownIt().parse("""and this sentence should be bolded""") There are no bold token, only text

List your environment

No response

humbertogontijo avatar Nov 02 '23 18:11 humbertogontijo

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Nov 02 '23 18:11 welcome[bot]

Heya, I think you may be mistaken:

$ python -c "import markdown_it; print(markdown_it.MarkdownIt().render(\"**and this sentence should\nbe bolded**\"))"
<p><strong>and this sentence should
be bolded</strong></p>

perhaps an old markdown-it-py version?

chrisjsewell avatar Nov 02 '23 19:11 chrisjsewell