question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bold text inline?

See original GitHub issue

I’m attempting to make a word in the middle of line bold, but <Color /> seems to add line breaks?

<div>
  I am <Color bold>bold</Color>, hello world.
</div>

Output:

I am
bold
, hello world.

What is the correct way to accomplish this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
lucasconstantinocommented, Feb 13, 2019

Honestly, if that’s intentional it is definitely confusing and missing in the docs…

0reactions
bestguycommented, Feb 17, 2019

Thanks for the update and info

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Bold, Italicize & Format Text in HTML - HubSpot Blog
To bold the text in HTML, use either the strong tag or the b (bold) tag. Browsers will bold the text inside both...
Read more >
How to make text bold in HTML? - Tutorialspoint
To make text bold in HTML, use the <b>…</b> tag or <strong>…</strong> tag. Both the tags have the same functioning, but <strong> tag...
Read more >
How to Bold Text in HTML - Instructions - TeachUcomp, Inc.
To bold text in HTML using CSS, place your insertion mark cursor at the location in the external, internal, or inline CSS style...
Read more >
How to Make the Text Bold in HTML - W3docs
To make the text bold in HTML, you can use the <b> or <strong> tag. They do the same, but they have different...
Read more >
HTML Text Formatting - W3Schools
The HTML <b> element defines bold text, without any extra importance. Example. <b>This text is bold</b>. Try ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found