Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

A code chunk's lines of code must be in the same order you want them to be when the code is converted for the computer.

<<a>>=
console.log(foo)
@

<<a>>+
var foo = "bar"
@

Foo needs to be set as bar because of blah blah blah...

This is because the above chunk will be tangled into:

console.log(foo) var foo = "bar"

which is not legal JavaScript.

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.