HAN's BLOG

마크다운(Markdown) 사용법

Intro

프로젝트를 하기에 있어서, 기록은 필수적이다.

마크업 언어는(markup language)중 대표적으로 htm,latexl과 markdown이 있으며,

마크다운은 단순 텍스트 에디터에서 손쉽게 작성 및 변경이 가능하다. 필자는 macOS 위에서Typora를 이용했다. 다크모드 지원과 편집이 즉시 반영되는 장점을 가지고있다.

그중 Lightweight 언어인 markdown의 대표적인 문법을 알아볼 생각이다.

간단한 문법을 시작으로 필요에 따라 글의 수정이 있을 예정이다.

  1. 문법

    2.1 헤더(Header), 문석의 제목

    헤더

    헤더

    ### 헤더

    ## 헤더

  2. 리스트

    3.1 orded list

      1. white space

    3.2 unordered list

    *, -, + white space

    3.3 split list

    - list one - item 1
    - list one - item 2
       - sub item 1
       - sub item 2
    - list one - item 3
    ^
    - list two - item A
    - list two - item B
    ^
    - list three - item _i_
    - list three - item _ii_
    
  3. 링크

    4.1 url with hyperlink

    Google

    GIthub

    ​ [Google](https://google.com)

    ​ [Github](https:github.com/hanseopark)

    ​ (\: = : 를 이용해서 하이퍼링크 회피)

  4. 코드블럭(code blocks)

    def sum (a,b)
    	return a+b
    

    ``` {.python}

    def sum(a,b):

    return a+b

    ```

    • Examaple language
    • no-highlight

    • Bash (bash)

    • c++ (cpp)

    • JSON (json)

    • Python (python)

  5. 이미지 (image)

    ![image name](url)