beautifulSA-jekyll/_posts/2015-02-20-test-markdown.md

53 lines
1.1 KiB
Markdown
Raw Normal View History

2015-03-02 12:06:05 -08:00
---
layout: post
title: Test markdown
subtitle: Each post also has a subtitle
---
2016-02-11 14:19:44 -08:00
You can write regular [markdown](http://markdowntutorial.com/) here and Jekyll will automatically convert it to a nice webpage. I strongly encourage you to [take 5 minutes to learn how to write in markdown](http://markdowntutorial.com/) - it'll teach you how to transform regular text into bold/italics/headings/tables/etc.
2015-03-02 12:06:05 -08:00
**Here is some bold text**
## Here is a secondary heading
2016-02-11 14:19:44 -08:00
Here's a useless table:
| Number | Next number | Previous number |
| :------ |:--- | :--- |
| Five | Six | Four |
| Ten | Eleven | Nine |
| Seven | Eight | Six |
| Two | Three | One |
2015-12-29 19:10:56 -02:00
How about a yummy crepe?
![Crepe](http://s3-media3.fl.yelpcdn.com/bphoto/cQ1Yoa75m2yUFFbY2xwuqw/348s.jpg)
2015-12-29 19:10:56 -02:00
Here's a code chunk:
2015-11-06 12:45:41 -08:00
~~~
var foo = function(x) {
return(x + 5);
}
foo(3)
2015-11-06 12:45:41 -08:00
~~~
And here is the same code with syntax highlighting:
2015-11-06 12:45:41 -08:00
```javascript
var foo = function(x) {
return(x + 5);
}
foo(3)
```
2016-07-29 17:10:26 -05:00
And here is the same code yet again but with line numbers:
2016-07-29 17:10:26 -05:00
2016-07-29 20:38:48 -07:00
{% highlight javascript linenos %}
var foo = function(x) {
return(x + 5);
}
foo(3)
2016-07-29 17:10:26 -05:00
{% endhighlight %}