Bold Text Within Multi-Line Code In MarkDown (.md) File?

Viewed 3628

I have some code that I want to make bold in README.md file. The code is very important and want everyone who reads the README to read it without fail and look good too, by being in a box, at the same time with bold text as well.

But when I try this, only one thing is possible — either multi-line bold or multi-line code. I want it like this:

```
**....**
```

Please help me out with this.

2 Answers

This is not possible with any flavors of markdown to my knowledge either, however you can use inline markdown like this **`Some text`**, which will render as Some text instead of Some text

However, this is probably not what you want. If you want to get someone's attention in the multi-line code block, perhaps just write a comment block above it like this:

# ------
# NOTICE: ...
# ------
if 1:
  # ...

You can do this: **Some text**

When you do this Some text will be in bold.

This will make the text bold.

Related