Skip to content

Instantly share code, notes, and snippets.

@ada-lovecraft
Last active March 21, 2017 01:37
Show Gist options
  • Select an option

  • Save ada-lovecraft/88753fe54cb80a20599975384b1d3392 to your computer and use it in GitHub Desktop.

Select an option

Save ada-lovecraft/88753fe54cb80a20599975384b1d3392 to your computer and use it in GitHub Desktop.
love-notes tangler
# 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 is a code block
function greet() {
console.log('hello, world!')
}
greet()
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