51 lines
1.1 KiB
Markdown
51 lines
1.1 KiB
Markdown
---
|
|
layout: post
|
|
title: Test markdown
|
|
subtitle: Each post also has a subtitle
|
|
---
|
|
|
|
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.
|
|
|
|
**Here is some bold text**
|
|
|
|
## Here is a secondary heading
|
|
|
|
Here's a useless table:
|
|
|
|
| Number | Next number | Previous number |
|
|
| :------ |:--- | :--- |
|
|
| Five | Six | Four |
|
|
| Ten | Eleven | Nine |
|
|
| Seven | Eight | Six |
|
|
| Two | Three | One |
|
|
|
|
|
|
How about a yummy crepe?
|
|
|
|
![Crepe](http://lafenicegelato.com/wp-content/uploads/2014/09/crepes-with-chocolate.jpg)
|
|
|
|
Here's a code chunk:
|
|
|
|
~~~
|
|
x <- 5 + 10
|
|
print(x)
|
|
~~~
|
|
|
|
And here is some code with syntax highlighting
|
|
|
|
```javascript
|
|
var foo = function(x) {
|
|
return(x + 5);
|
|
}
|
|
foo(3)
|
|
```
|
|
|
|
And here is some more with line numbers
|
|
|
|
{% highlight python linenos %}
|
|
def bar(x):
|
|
return x * 2
|
|
|
|
print bar(2)
|
|
{% endhighlight %}
|