EFX-TEK

General => Announcements => Topic started by: JonnyMac on September 10, 2008, 12:42:26 PM

Title: Tip For Posting Your Code
Post by: JonnyMac on September 10, 2008, 12:42:26 PM
It's great that everyone is starting to share their code so let me share a tip that will make it more readable for all of us.  The standard forum font, Verdan, looks nice when reading general text but doesn work so well with formatted listings.  So... before pasting your code into a posting, click on the Font Face button (has a red A on it) and change the font name from Verdana to Courier New.  Paste your code in between the two tags (they're surrounded by [ and ]) and it will look just spiffy!
Title: Re: Tip For Posting Your Code
Post by: menehune on September 10, 2008, 10:10:11 PM
I think the "Insert code" button also defaults to a monospaced font-it does on other forums I visit. 
The white page icon with the "#" symbol is the "insert code" button. 
Copy/paste your code between the [ code ] [ /code ] tags.
Title: Re: Tip For Posting Your Code
Post by: JonnyMac on September 11, 2008, 12:15:57 AM
Personally I find the "code" blocks less readable because it tends to put the listing into a scroll box.  YOu're right, though, it is monospaced.
Title: Re: Tip For Posting Your Code
Post by: menehune on September 11, 2008, 02:27:36 PM
I forgot about the scroll box if the text is longer than 5 or 6 lines.