Skip to content

コードブロック

Atsuo Fukaya edited this page Nov 11, 2015 · 2 revisions

Markdown wraps code blocks in pre-formatted tags to preserve indentation in your code blocks. To create a code block, indent the entire block by at least 4 spaces or one tab. Markdown will strip the extra indentation you’ve added to the code block.

def hello
  puts 'hi!'
end
Clone this wiki locally