Build a beautiful and simple website in literally minutes. Demo at http://deanattali.com/beautiful-jekyll
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.1 KiB

9 years ago
9 years ago
  1. ---
  2. layout: post
  3. title: Test markdown
  4. subtitle: Each post also has a subtitle
  5. ---
  6. 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.
  7. **Here is some bold text**
  8. ## Here is a secondary heading
  9. Here's a useless table:
  10. | Number | Next number | Previous number |
  11. | :------ |:--- | :--- |
  12. | Five | Six | Four |
  13. | Ten | Eleven | Nine |
  14. | Seven | Eight | Six |
  15. | Two | Three | One |
  16. How about a yummy crepe?
  17. ![Crepe](http://s3-media3.fl.yelpcdn.com/bphoto/cQ1Yoa75m2yUFFbY2xwuqw/348s.jpg)
  18. Here's a code chunk:
  19. ~~~
  20. var foo = function(x) {
  21. return(x + 5);
  22. }
  23. foo(3)
  24. ~~~
  25. And here is the same code with syntax highlighting:
  26. ```javascript
  27. var foo = function(x) {
  28. return(x + 5);
  29. }
  30. foo(3)
  31. ```
  32. And here is the same code yet again but with line numbers:
  33. {% highlight javascript linenos %}
  34. var foo = function(x) {
  35. return(x + 5);
  36. }
  37. foo(3)
  38. {% endhighlight %}