Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiline bold #307

Open
humbertogontijo opened this issue Nov 2, 2023 · 2 comments
Open

Multiline bold #307

humbertogontijo opened this issue Nov 2, 2023 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@humbertogontijo
Copy link

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 humbertogontijo added the bug Something isn't working label Nov 2, 2023
Copy link

welcome bot commented Nov 2, 2023

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

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! 🎉

@chrisjsewell
Copy link
Member

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 chrisjsewell added bug Something isn't working question Further information is requested and removed bug Something isn't working labels Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants