Skip to content

Instantly share code, notes, and snippets.

@denilsonsa
Last active May 1, 2024 11:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save denilsonsa/e793f78b639298ef533a9f43bf2a2679 to your computer and use it in GitHub Desktop.
Save denilsonsa/e793f78b639298ef533a9f43bf2a2679 to your computer and use it in GitHub Desktop.
Markdown rendering of code block inside nested list

Markdown rendering of code block inside nested list

Demonstration of a bug in GitLab's Markdown rendering.

I have a nested list, and a code block in the middle of the list.

  1. Numbered list

    • Nested list

        Code block inside the nested list
        This code block works fine.
      
    • This should be a list item, but GitLab renders it as a code block.

  2. This list item works.

See also:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment