You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As always, Jekyll offers support for GitHub Flavored Markdown, which allows you to format your posts using the [Markdown syntax](https://guides.github.com/features/mastering-markdown/). Examples of these text formatting features can be seen below. You can find this post in the `_posts` directory.
11
-
12
-
# Heading One
13
-
14
-
## Heading Two
15
-
16
-
### Heading Three
17
-
18
-
#### Heading Four
19
-
20
-
##### Heading Five
21
-
22
-
###### Heading Six
23
-
24
-
### Quote Blocks
25
-
26
-
> Nature uses only the longest threads to weave her patterns, so that each small piece of her fabric reveals the organization of the entire tapestry.
27
-
28
-
<table>
29
-
<thead>
30
-
<tr>
31
-
<th>Name</th>
32
-
<th>Upvotes</th>
33
-
<th>Downvotes</th>
34
-
</tr>
35
-
</thead>
36
-
<tfoot>
37
-
<tr>
38
-
<td>Totals</td>
39
-
<td>21</td>
40
-
<td>23</td>
41
-
</tr>
42
-
</tfoot>
43
-
<tbody>
44
-
<tr>
45
-
<td>Alice</td>
46
-
<td>10</td>
47
-
<td>11</td>
48
-
</tr>
49
-
<tr>
50
-
<td>Bob</td>
51
-
<td>4</td>
52
-
<td>3</td>
53
-
</tr>
54
-
<tr>
55
-
<td>Charlie</td>
56
-
<td>7</td>
57
-
<td>9</td>
58
-
</tr>
59
-
</tbody>
60
-
</table>
61
-
62
-
### Code
63
-
64
-
```js
65
-
// Example can be run directly in your JavaScript console
10
+
# Markdown Support
66
11
67
-
// Create a function that takes two arguments and returns the sum of those arguments
68
-
69
-
var adder =newFunction("a", "b", "return a + b");
12
+
As always, Jekyll offers support for GitHub Flavored Markdown, which allows you to format your posts using the [Markdown syntax](https://guides.github.com/features/mastering-markdown/). Examples of these text formatting features can be seen below. You can find this post in the `_posts` directory.
70
13
71
-
// Call the function
72
-
adder(2, 6);
73
-
// > 8
74
-
```
14
+
## Basic Formatting
75
15
76
-
### Lists
16
+
With Markdown, it is possible to emphasize words by making them *italicized*, using *astericks* or _underscores_, or making them **bold**, using **double astericks** or __double underscores__. Of course, you can combine those two formats, with both _**bold and italicized**_ text, using any combination of the above syntax. You can also add a strikethrough to text using a ~~double tilde~~.
77
17
78
-
1. First item.
79
-
2. Second item.
80
-
3. Third item.
81
-
4. First point.
82
-
- A point.
83
-
5. Second point.
84
-
6. Third point.
85
-
- Another point.
86
-
- Another one.
18
+
## Paragraphs
87
19
20
+
This is what a paragraph looks like. For the purpose of demonstration, the rest of this paragraph and the next paragraph after will mean absolutely nothing. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
88
21
22
+
Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
89
23
90
24
25
+
## Headings
91
26
27
+
Sometimes it is useful to have different levels of headings to structure your documents. Start lines with `#` to create headings. Multiple `##` in a row denote smaller heading size. The following demonstrate the full range of heading sizes:
92
28
93
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit.
29
+
# Heading One (h1)
94
30
95
-
## Some great heading (h2)
31
+
## Heading Two (h2)
96
32
97
-
Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu.
33
+
### Heading Three (h3)
98
34
99
-
Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
35
+
#### Heading Four (h4)
100
36
101
-
##Another great heading (h2)
37
+
##### Heading Five (h5)
102
38
103
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit.
39
+
###### Heading Six (h6)
104
40
105
-
### Some great subheading (h3)
41
+
##Links
106
42
107
-
Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum.
43
+
You can create an inline link by wrapping link text in square brackets `[ ]`, and then wrapping the URL in parentheses `( )`. For example, it is very easy to [link to Google!](http://google.com).
108
44
109
-
Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc.
45
+
## Blockquotes
110
46
111
-
### Some great subheading (h3)
47
+
Blockquotes are useful for denoting quotes, or highlighting a large block of text. Single line blockquote:
112
48
113
-
Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
49
+
> This quote will change your life.
114
50
115
-
> This quote will change your life. It will reveal the secrets of the universe, and all the wonders of humanity. Don't misuse it.
51
+
Multi line blockquote with a cite reference:
116
52
117
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt.
53
+
> People think focus means saying yes to the thing you've got to focus on. But that's not what it means at all. It means saying no to the hundred other good ideas that there are. You have to pick carefully. I'm actually as proud of the things we haven't done as the things I have done. Innovation is saying no to 1,000 things.
118
54
119
-
### Some great subheading (h3)
55
+
##Code and Syntax Highlighting
120
56
121
-
Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum.
57
+
Code blocks are part of the Markdown spec, but syntax highlighting isn't. However, many renderers - like GitHub or most Jekyll themes - support syntax highlighting. Which languages are supported and how those language names should be written will vary from renderer to renderer. You can find the full list of supported programming languages [here](https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers). Also, it is possible to do `inline code blocks`, by wrapping the text in `` ` quotations.
122
58
123
-
```html
124
-
<html>
125
-
<head>
126
-
</head>
127
-
<body>
128
-
<p>Hello, World!</p>
129
-
</body>
130
-
</html>
59
+
```
60
+
No language indicated, so no syntax highlighting.
131
61
```
132
62
63
+
```ruby
64
+
defprint_hi(name)
65
+
puts"Hi, #{name}"
66
+
end
67
+
print_hi('Tom')
68
+
#=> prints 'Hi, Tom' to STDOUT.
69
+
```
133
70
134
-
In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
135
-
136
-
#### You might want a sub-subheading (h4)
137
-
138
-
In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
71
+
{% highlight js %}
72
+
// Example can be run directly in your JavaScript console
139
73
140
-
In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
74
+
// Create a function that takes two arguments and returns the sum of those arguments
75
+
var adder = new Function("a", "b", "return a + b");
141
76
142
-
#### But it's probably overkill (h4)
77
+
// Call the function
78
+
adder(2, 6);
79
+
// > 8
80
+
{% endhighlight %}
143
81
144
-
In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
82
+
Another option is to embed your code through [Gist](https://en.support.wordpress.com/gist/).
145
83
146
-
### Oh hai, an unordered list!!
84
+
##Unordered and Numbered Lists
147
85
148
-
In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
86
+
You can make an unordered and nested list by preceding one or more lines of text with `-`, `*`, or `+`, and indenting sublists. The following lists show the full range of possible list formats.
149
87
150
-
- First item, yo
151
-
- Second item, dawg
152
-
- Third item, what what?!
153
-
- Fourth item, fo sheezy my neezy
88
+
* List item one
89
+
* List item one
90
+
* List item one
91
+
* List item two
92
+
* List item three
93
+
* List item four
94
+
* List item two
95
+
* List item three
96
+
* List item four
97
+
* List item two
98
+
* List item three
99
+
* List item four
154
100
155
-
### Oh hai, an ordered list!!
101
+
Numbered lists are made by using numbers instead of bullet points.
156
102
157
-
In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
103
+
1. List item one
104
+
1. List item one
105
+
1. List item one
106
+
2. List item two
107
+
3. List item three
108
+
4. List item four
109
+
2. List item two
110
+
3. List item three
111
+
4. List item four
112
+
2. List item two
113
+
3. List item three
114
+
4. List item four
158
115
159
-
1. First item, yo
160
-
2. Second item, dawg
161
-
3. Third item, what what?!
162
-
4. Fourth item, fo sheezy my neezy
116
+
## MathJax Example
163
117
164
-
## Headings are cool! (h2)
118
+
The [Schrödinger equation](https://en.wikipedia.org/wiki/Schr%C3%B6dinger_equation) is a partial differential equation that describes how the quantum state of a quantum system changes with time:
165
119
166
-
Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
124
+
[Joseph-Louis Millennial](https://en.wikipedia.org/wiki/Joseph-Louis_Millennial) was an Italian mathematician and astronomer who was responsible for the formulation of Lagrangian mechanics, which is a reformulation of Newtonian mechanics.
169
125
170
-
Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc.
HTML defines a long list of available inline tags, which you can mix with Markdown if you like. A complete list of which can be found on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/HTML/Element).
148
+
149
+
## Useful Resources
150
+
151
+
More information on Markdown can be found at the following links:
181
152
182
-
Title 1 | Title 2 | Title 3 | Title 4
183
-
--- | --- | --- | ---
184
-
lorem | lorem ipsum | lorem ipsum dolor | lorem ipsum dolor sit
185
-
lorem ipsum dolor sit amet | lorem ipsum dolor sit amet consectetur | lorem ipsum dolor sit amet | lorem ipsum dolor sit
186
-
lorem ipsum dolor | lorem ipsum | lorem | lorem ipsum
187
-
lorem ipsum dolor | lorem ipsum dolor sit | lorem ipsum dolor sit amet | lorem ipsum dolor sit amet consectetur
153
+
-[Markdown Here Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Here-Cheatsheet#code)
0 commit comments