Last active
March 21, 2017 01:37
-
-
Save ada-lovecraft/88753fe54cb80a20599975384b1d3392 to your computer and use it in GitHub Desktop.
love-notes tangler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Hello, World! | |
| ``` > index.js | |
| // this is a code block | |
| #greet | |
| greet() | |
| ``` | |
| this is more regular text | |
| ```js > index.js#greet | |
| function greet() { | |
| console.log('hello, world!') | |
| } | |
| ``` | |
| A math function stubb | |
| ```js > math.js | |
| function sum(a, b) { | |
| #sum-body | |
| } | |
| ``` | |
| Math function stub body | |
| ``` js > math.js#sum-body | |
| return a + b | |
| ``` | |
| executor | |
| ```js > math.js | |
| console.log(sum(2, 2)) | |
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // this is a code block | |
| function greet() { | |
| console.log('hello, world!') | |
| } | |
| greet() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function sum(a,b) { | |
| return a + b | |
| } | |
| console.log(sum(2, 2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment