Text missing following fenced code block

No you are missing the correct way to do this in Markdown:

  • Item 1

    I can type some words here

  • Item 2

       var msg = "Hello world!";
       console.debug(msg);
    

    This is not hidden

  • Item 3

Remember fenced code blocks were never part of the classic Markdown spec, such as it was…

I don’t think what you want to do is possible without using a “loose” list, versus a “tight” (no spacing) list.

- Item 1

    I can type some words here


- Item 2

         var msg = "Hello world!";
         console.debug(msg);

    This is not hidden

- Item 3

This is a tight list

  • I am
  • so close
  • to each line

This is a loose list

  • I am

  • So far apart

  • From each line

I always have to remind @sam about the different loose and tight list behaviors since so much is implicit in Markdown. But TL;DR never mix loose and tight lists.

5 curtidas