Skip to content

Instantly share code, notes, and snippets.

@tripu tripu/list-with-blocks.md
Last active Apr 27, 2017

Embed
What would you like to do?
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
You can’t perform that action at this time.