Posts [Jekyll 블로그] 포스팅 md 문법
Post
Cancel

[Jekyll 블로그] 포스팅 md 문법

Imgae width and location

  • width 50 and normal
    Desktop View



  • width 100 and left
    Desktop View



  • width 150 and right
    Desktop View



Image Caption

Desktop View Image Caption

Code Block

1
This is a common code snippet, without syntax highlight and line number.
1
2
3
4
5
class Main {
    public static void main(String[] args) {
        System.out.println("hello world");
    }
}

Specific Language

language를 통해 line number 와 syntax highlight를 갖는 코드블럭을 생성할 수 있음

Note: The Jekyll style {% highlight LANGUAGE %} or {% highlight LANGUAGE linenos %} are not allowed to be used in this theme !

1
2
3
4
5
items:
	- part_no:	A4786
	  descrip:	Water Bucket (Filled)
	  price:	1.47
	  quantity:	4

Highlight

Highlight example

Liguid Codes

1
2
3
{% if product.title contains 'Pack' %}
  This product's title contains the word Pack.
{% endif %}

Learn More

더 많은걸 알고싶다면, 해당 사이트 참고 Jekyll Docs:Posts

참고 사이트

  • https://j1mmyson.github.io/posts/postingGuide/
This post is licensed under CC BY 4.0 by the author.