Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tripu
Last active April 27, 2017 10:29
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 tripu/c594cf2873619a541807ed4cc955c580 to your computer and use it in GitHub Desktop.
Save tripu/c594cf2873619a541807ed4cc955c580 to your computer and use it in GitHub Desktop.
Markdown: block codes inside lists
  1. One.
  2. Two (2 spaces, fails):
console.debug('fails :(');
((x) => { foo; return bar; })();
  1. Three

  1. One.

  2. Two (3 spaces, works):

    console.debug('it works!');
    ((x) => { foo; return bar; })();
  3. Three


  1. One.

  2. Two (4 spaces, works):

    console.debug('it works!');
    ((x) => { foo; return bar; })();
  3. Three

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