새로운 포스트를 추가하려면, _posts 디렉토리에 YYYY-MM-DD-name-of-post.ext 형식을 따르는 파일을 추가
Code Chunk
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.#include <iostream>
using namespace std;
int main() {
cout << "Hello World!";
return 0;
}
// prints 'Hi, Tom' to STDOUT.
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
p1 = Person("John", 36)
print(p1.name)
print(p1.age)
var foo = function(x) {
return(x + 5);
}
foo(3)
And here is the same code with syntax highlighting:
var foo = function(x) {
return(x + 5);
}
foo(3)
And here is the same code yet again but with line numbers:
1
2
3
4
var foo = function(x) {
return(x + 5);
}
foo(3)
활용법
활용법은 다음 문서 확인: Jekyll docs 마크다운 배우는 곳: markdown
Bold
bold text
Inline
`escape inline code`
inline code
quote
인용구
Picture
How about a yummy crepe? It can also be centered!

Table
| Number | Next number | Previous number |
|---|---|---|
| Five | Six | Four |
| Ten | Eleven | Nine |
| Seven | Eight | Six |
| Two | Three | One |
9 * 9
| 1 * 1 = 1 | |||
| 1 * 2 = 2 | 2 * 2 = 4 | ||
| 1 * 3 = 3 | 2 * 3 = 6 | 3 * 3 = 9 | |
| 1 * 3 = 3 | 2 * 3 = 6 | 3 * 4 = 12 | 4 * 4 = 16 |
Table example as below
Headerless
Table header can be eliminated.
| ♜ | ♝ | ♛ | ♚ | ♝ | ♞ | ♜ | |
| ♟ | ♟ | ♟ | ♟ | ♟ | ♟ | ||
| ♟ | ♞ | ||||||
| ♗ | ♟ | ||||||
| ♙ | |||||||
| ♘ | |||||||
| ♙ | ♙ | ♙ | ♙ | ♙ | ♙ | ♙ | |
| ♖ | ♘ | ♗ | ♕ | ♔ | ♖ |
Table Tips
열을 구분하기 위해 파이프 (|)를 사용하고, 헤더 행과 표의 나머지 부분을 구분하기 위해 대시(-)를 사용하자. 마크다운 프로세서에게 공백은 중요하지 않다. 모든 추가 공백은 제거되지만, 가독성을 높이는 데에는 도움이 될 수 있다. 아래의 두 마크다운 예시는 모두 같은 표를 생성한다.
열을 구분하기 위해 파이프 ( |
) 를 사용하고, 헤더 행과 표의 나머지 부분을 구분하기 위해 대시(-)를 사용하자. |
URLs
- A named link to MarkItDown. The easiest way to do these is to select what you want to make a link and hit
Ctrl+L. - Another named link to MarkItDown
- Sometimes you just want a URL like https://www.markitdown.net/.
Horizontal rule
A horizontal rule is a line that goes across the middle of the page.
