Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It'll format it as monospace, and typically in a format that's easier to recognize as being code.

IIRC you can do that by gating code like this:

  '''
  code goes here
  '''
in markdown, but it's been a while.

(The spaces are necessary for HN markup, but not the markdown formatting).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: