Hacker News new | past | comments | ask | show | jobs | submit login

That little asterix on "without any changes" is doing a lot of work.

> The code block has to be indented, of course, or—in many implementations, but not Gruber’s—surrounded by fences.

Indenting is always a nuisance and can present more complicated problems for Python or other whitespace-significant languages.

CommonMark and most Markdown flavors support 3 backticks or 3 tildes as a fence. Then everything inside is literally unaltered code. Not sure what you do if your code sample itself has the fence in it.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: