Skip to content

Commit 357c8b5

Browse files
authored
change code chunk examples in sample post
1 parent 6d0a6ff commit 357c8b5

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

‎_posts/2015-02-20-test-markdown.md‎

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,18 @@ Here's a useless table:
2222

2323
How about a yummy crepe?
2424

25-
![Crepe](http://lafenicegelato.com/wp-content/uploads/2014/09/crepes-with-chocolate.jpg)
25+
![Crepe](http://s3-media3.fl.yelpcdn.com/bphoto/cQ1Yoa75m2yUFFbY2xwuqw/348s.jpg)
2626

2727
Here's a code chunk:
2828

2929
~~~
30-
x <- 5 + 10
31-
print(x)
30+
var foo = function(x) {
31+
return(x + 5);
32+
}
33+
foo(3)
3234
~~~
3335

34-
And here is some code with syntax highlighting
36+
And here is the same code with syntax highlighting:
3537

3638
```javascript
3739
var foo = function(x) {
@@ -40,11 +42,11 @@ var foo = function(x) {
4042
foo(3)
4143
```
4244

43-
And here is some more with line numbers
45+
And here is the same code yet again but with line numbers:
4446

4547
{% highlight python linenos %}
46-
def bar(x):
47-
return x * 2
48-
49-
print bar(2)
48+
var foo = function(x) {
49+
return(x + 5);
50+
}
51+
foo(3)
5052
{% endhighlight %}

0 commit comments

Comments
 (0)