Search code examples
githubgithub-flavored-markdown

Add emphasis github flavored markdown within code block


Is it possible to bold a portion of text within a code block in a github readme?


Solution

  • This answer on StackExchange Meta works on Github too:

    Use a <pre> tag (or <pre><code>) instead of ```, and use <b> tags around the part you want bold.