Markdown

exported by ox-hugo on Org_Mode & Emacs Hugo supports Markdown syntax for formatting text, creating lists, and more. This page will show you some of the most common Markdown syntax examples.

Markdown Examples

Styling Text

수정 필요 : 잘 안가져와 진다. 그냥 그려야 할 듯

Blockquotes

Blockquote with attribution

Don’t communicate by sharing memory, share memory by communicating. — Rob Pike1

Tables

Tables aren’t part of the core Markdown spec, but Hugo supports them out-of-the-box.

NameAge
Bob27
Alice23

Inline Markdown within tables

ItalicsBoldCode
italicsboldcode

Code Blocks

Lists

Ordered List

  1. First item
  2. Second item
  3. Third item

Unordered List

  • List item
  • Another item
  • And another item

Nested list

  • Fruit
    • Apple
    • Orange
    • Banana
  • Dairy
    • Milk
    • Cheese

Images

https://source.unsplash.com/featured/800x600?landscape

org-attach 이용 (local)

With caption:

Figure 1: Unsplash Landscape

Figure 1: Unsplash Landscape

다른 예 (online)

Figure 2: [그림 2] 올바른 줄임말 사용 예시

Figure 2: [그림 2] 올바른 줄임말 사용 예시

Configuration

Hugo uses Goldmark for Markdown parsing. Markdown rendering can be configured in hugo.yaml under markup.goldmark. Below is the default configuration for Hextra:

markup:
  goldmark:
    renderer:
      unsafe: true
  highlight:
    noClasses: false

For more configuration options, see Hugo documentation on Configure Markup.

Learning Resources


  1. The above quote is excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015. ↩︎

마지막 수정일자