The unordered list cannot be displayed properly

The unordered list cannot be displayed properly.

Docker.md (1.3 KB)

In Live Preview, your markdown list stops rendering after docker kill <id> because the previewer interprets <id> as an HTML tag that never gets closed. Hence it tries to treat everything after it as HTML instead of markdown.

When you switch to Reading mode, you might see a properly rendered list, but <id> will have disappeared.

To fix it…

Wrap docker kill <id> and docker start <id> in backticks to make them inline code. Same for anywhere else that you use the β€œ<” character:

`docker kill <id>`

Alternatively, you could escape β€œ<” characters with a backslash:

docker kill \<id>
3 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.