githubmarkdown

GitHub Markdown Warning and Note all on one line


When I am editing my README.md files in a GitHub repo I am trying to add Warnings and/or Notes using this format:

> **Note**
> This is a note

> **Warning**
> This is a warning

As recommended here:

https://github.com/community/community/discussions/16925

However, it appears like this:

Warning example

All the text is on one line.

Anyone know why this is happening? Thanks!


Solution

  • The best solution was provided by @Mohammed Albushra in one of the comments below:

    > **Note**  <- put two spaces here
    > This is a note
    

    And now they appear as intended!