Post Reply 
How to Indent in MoHPC Forum
06-29-2014, 05:29 PM
Post: #3
RE: How to Indent in MoHPC Forum
(06-29-2014 04:04 PM)MNH Wrote:  Do I wrap my code in # symbols before or after I post?
No. Use a code-tag instead:

\([\)code\(]\)def gcd(a, b):
    return a if b == 0 else gcd(b, a % b)
[/code]


This results in:
Code:
def gcd(a, b):
    return a if b == 0 else gcd(b, a % b)

Cheers
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to Indent in MoHPC Forum - MNH - 06-29-2014, 04:04 PM
RE: How to Indent in MoHPC Forum - Thomas Klemm - 06-29-2014 05:29 PM



User(s) browsing this thread: 1 Guest(s)