Markdown(마크다운)

Created by
  • T
    Tagg_Lee
Created at
🌱
목차
1.
마크다운을 왜 사용할까?
2.
사용 예시
3.
자주 쓰는 문법
1. 왜 마크다운을 사용할까?
마크다운은 문서의 구조와 표현을 정의하는 컴퓨터 언어입니다.
다음과 같은 이마크다운은 다음과 같은 장점들이 있습니다.
1.
생성형 AI가 잘 이해하는 문법이다.
2.
간편하게 포맷 스타일과 글의 구조를 만들 수 있다.
3.
다양한 플랫폼에서 사용할 수 있다.
2. 사용 예시
# 과제 1. ESG에 대한 최신 뉴스를 찾습니다. 2. 뉴스들을 분석하여 동향을 파악합니다. 3. 관련 키워드 20개를 추론합니다. 4. *리포트 양식*을 참고하여 양식에 맞게 작성합니다. # 요구 사항 - 간결하게 말합니다. - 전문적인 용어를 사용하고, 정확한 정보를 전달합니다. # *리포트 양식* ## 뉴스 ### 뉴스 1: (제목 + 링크) **요약**: ### 뉴스 2: (제목 + 링크) **요약**: ## 동향 1. **AA AAA**: aaaaaaaaaaaaa 2. **BB BBB**: bbbbbbbbbbbbb 3. **CC CCC**: ccccccccccccc ## 키워드 #AAA #BBB #CCC
3. 자주 쓰는 문법
프롬프트 작성할 때 자주 사용하는 마크다운 문법 몇 가지 소개드립니다.
제목 (Headings)
→ 구분할 때 사용하기
# - 제목 1
## - 제목 2
### - 제목 3
수평선
--— - 수평선 ('-' 세 개)
→ 구분할 때 사용하기
굵게, 기울임
→ 강조할 때 사용하기
*굵게** 또는 __굵게__
*기울임* 또는 _기울임_
~~취소선~~
인용 (Blockquote)
> - 인용문
코드 블록
→ 강조 또는 고정하기
→ 코드 작성하기
`인라인 코드`
``` 코드 블록 ```
4. 마크다운 전체 문법
--- tags: --- # Markdown Syntax Guide for Researchers ## Headings ``` # H1 ## H2 ### H3 #### H4 ##### H5 ###### H6 ``` # This is Heading 1 ## This is Heading 2 ### This is Heading 3 #### This is Heading 4 ##### This is Heading 5 ###### This is Heading 6 --- ## Basic Formatting ### Bold `**볼드체 텍스트**` or `__볼드체 텍스트__` **볼드체 텍스트** ### Italic `*이탤릭체 텍스트*` or `_이탤릭체 텍스트_` *이탤릭체 텍스트* ### Strikethrough `~~취소선 텍스트~~` ~~취소선 텍스트~~ ### Bold and Italic `***볼드체와 이탤릭체 함께***` or `___볼드체와 이탤릭체 함께___` ***볼드체와 이탤릭체 함께*** --- ## Lists ### Ordered List ``` 1. First item 2. Second item 3. Third item ``` 1. First item 2. Second item 3. Third item ### Unordered List ``` - First item - Second item - Third item ``` - First item - Second item - Third item ### Task List ``` - [x] Write the literature review - [x] Collect data - [ ] Analyze results ``` - [x] Write the literature review - [x] Collect data - [ ] Analyze results - [x] 빵 - [x] 우유 - [ ] 계란 - [x] 논문리뷰 - [ ] 리비전 교정 표 만들고 - [x] --- ## Code ### Inline Code ``` Use the `print()` function in Python. ``` Use the `print()` function in Python. 기본적인 함수: `y=f(x)` `Ctrl + y` ### Code Block ```` ```python def factorial(n): if n == 0: return 1 else: return n * factorial(n-1) ``` ```` ```python def factorial(n): if n == 0: return 1 else: return n * factorial(n-1) ``` --- ## Links and References ### External Link ``` [Markdown Guide](https://www.markdownguide.org) ``` [Markdown Guide](https://www.markdownguide.org) [네이버 주소](https://www.naver.com) [커맨드스페이스 유튜브](https://www.youtube.com/@cmdspace) ![유튜브 영상](https://youtu.be/LxvbzoCfdw0?si=6aMkxTgci-P4IQIp) ### Internal Link (for tools that support it) ``` [[Research Methods]] ``` [[Research Methods]] [[🔖 Knowledge Connectivity]] ### Footnote ``` Here's a sentence with a footnote.[^1] [^1]: This is the footnote content. ``` Here's a sentence with a footnote.[^1] [^1]: This is the footnote content. 내가 밥을 먹었는데 치킨이 먹고싶더라. [^2] [^2]: 나의 감정을 표현한 글 --- ## Quotes and Callouts ### Blockquote ``` > This is a blockquote. > It can span multiple lines. ``` > This is a blockquote. > It can span multiple lines. > 밥을 많이 먹으면 살이 찌더라. > —구요한 ### Nested Blockquotes ``` > This is the first level of quoting. > > > This is nested blockquote. > > Back to the first level. ``` > This is the first level of quoting. > > > This is nested blockquote. > > Back to the first level. --- ## Images ``` ![Alt text](image-url.jpg "Optional title") ``` ![text|400](https://i.ytimg.com/vi/4WZ-6EomEzE/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAD0hVGWBzhVGY0UpjMWIKYWx-Rdg) ![[Pasted image 20240627022953.png|400]] --- ## Tables ``` | Column 1 | Column 2 | Column 3 | |----------|----------|----------| | Row 1, Col 1 | Row 1, Col 2 | Row 1, Col 3 | | Row 2, Col 1 | Row 2, Col 2 | Row 2, Col 3 | ``` | A | B | | --- | --- | | 1 | 2 | | Column 1 | Column 2 | Column 3 | |----------|----------|----------| | Row 1, Col 1 | Row 1, Col 2 | Row 1, Col 3 | | Row 2, Col 1 | Row 2, Col 2 | Row 2, Col 3 | --- ## Horizontal Rule ``` --- ``` --- ## Mathematical Equations (LaTeX) Many Markdown processors support LaTeX for mathematical equations. ### Inline Math ``` This is an inline equation: $E = mc^2$ ``` This is an inline equation: $E = mc^2$ ### Display Math ``` This is a display equation: $$ \frac{\partial f}{\partial x} = 2\sqrt{a}x $$ ``` This is a display equation: $$ \frac{\partial f}{\partial x} = 2\sqrt{a}x $$ 근의공식: $$ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} $$ --- ## Citations (for academic writing) Some Markdown flavors (like Pandoc) support citations: ``` According to recent studies [@smith2023; @johnson2022], ... ``` --- ## Abbreviations ``` The HTML specification is maintained by the W3C. *[HTML]: Hyper Text Markup Language *[W3C]: World Wide Web Consortium ``` The HTML specification is maintained by the W3C. *[HTML]: Hyper Text Markup Language *[W3C]: World Wide Web Consortium --- ## Highlighting (supported in some flavors) ``` Here's some ==highlighted text==. ``` Here's some ==highlighted text==. --- Remember that support for some of these features (especially LaTeX equations, citations, and certain extensions) may vary depending on the Markdown processor or platform you're using. Always check your specific environment's capabilities and syntax requirements.