In the Markdown help page, the Code and Preformatted Text example is:
printf("goodbye world!"); /* his suicide note
was in C */
It also happens to be the first example of the page, and probably where a new visitor's eye will go first. I get and appreciate the joke, however I'd prefer a bit more tasteful example, even if it's as boring and predictable as "hello world!".
Actually, screw that - boring and predictable is for pages you don't want folks to read. Let's have a bit of a contest.
Rules:
- Best example by total score wins.
- One example per answer, one answer per person.
- Two lines per answer, ideally demonstrating whitespace preservation.
- Must be recognizable as code.
- Must be as inoffensive as possible. Examples likely to encourage readers to commit to source control and then off themselves will be disqualified. Yes, this implicitly disallows any mention of Visual Source Safe.
- Winner will be awarded a heaping helping of worthless Meta rep, the envy of his peers, and temporary immortality.
Thanks everyone - look forward to a revised help page shortly. –Shog9
<kbd>tab</kdb>
markdown?puts()
properly and was forever plagued by having to put\n
at the end of every line. Have a heart.