Python Forum
BBCode

Code Tag Usage

You can use BBCode, a simplified version of HTML, in your posts to create certain effects.
This allows you to modify the text in posts, but restricts as to not be able to put any HTML you want.
There are buttons in the reply post editor to insert BBcode. The following buttons automatically insert the specified BBCode tag. You can either hit the button and it pastes the tags at your prompt location and insert the content between the two tags. Or you can highlight the text you want within the specific code tag, and press the code tag when its highlighted to wrap that section of text in that tag. You can also manually insert them within your text if you remember the tag names and want to type the tags out.


Some BBCode may or may not be turned off by admins based on abuse of them. Check out BBCode Wiki for more general information.
Add code into python code tags...
This preserves indentation, adds syntax highlighting to your code, shortens the code to a specified length for scrolling, and separates code from your question.
This is required to post on the forums and you will be pointed back to here if you dont. Python code must be inserted between the two [python] tags, however you can put any language code in here. You can also put anything else that you want to retain indentation or separate in a box in python tags. It is our main generic code tag for our forum. Just note that it assumes all content is python code, so it will highlight python keywords in the content even if it is plain text. Its not a big deal if its another language such as HTML, Javascript, JSON, MySQL, etc.



Add traceback errors into error tags.
Please use this for any error as it's color code (red) indicates to users on the forum that is an an error as opposed to code. It makes it stand out as it is one of the most vital parts of a post. Any BBCode within this error tag will escape and be shown with the error. So please do no attempt to make certain parts text color red. Also do not make the traceback text color red instead of using the error tags. This is what we have it for and this is what our users are looking for.



Add output into output tags.
Please use this for any output (or even any input). This is to illustrate to people that the content inside is a result of a command. It can often contain that command (or not) and is color coded (blue) to indicate that it is output, not an error, code, etc. It can also be used as a sole means to separate commands or input given to computer for any prompt. Any BBCode within this error tag will escape and be shown with the output. So please do not try to bold out a specific part of the output



With these 3 boxes (python, error, output) you can make your post organized. When someone views your post it makes it easier to identify code from errors, code from the authors text, errors from output, errors from code, etc. Its a small amount of work the author can do to help improve the number of responses to their own questions as well as the merit of their responses.


[quote]Quoted text will be here[/quote]
Make sure to put your text outside of the quote tags and the quoted text inside the quote tags.
Otherwise it puts your response inside the quote you are quoting.

[b]This text is bold[/b]
   This text is bold

[i]This text is italicized[/i]
   This text is italicized

[u]This text is underlined[/u]
   This text is underlined



If you copy a url and insert it into the editor it should auto detect it is a link and make it clickable.
If not, you can highlight it, then select the "Insert link" button, and paste again the URL in the URL field.
The description field will display it to what you put there.
If left blank it will leave it displayed as you had it.
[url]http://www.example.com/[/url]
   http://www.example.com/

[url=http://www.example.com/]Example.com[/url]
   Example.com

[email][email protected][/email]
   [email protected]

[[email protected]]E-mail Me![/email]
   E-mail Me!

[[email protected]?subject=spam]E-mail with subject[/email]
   E-mail with subject


[img]http://python-forum.io/images/logopng[/img]
   

[img=200x100]http://python-forum.io/images/logo.png[/img]
   

[spoiler=image1][img]http://python-forum.io/images/screenshots/BBcode.png[/img][/spoiler]

[color=red]This text is red[/color]
   This text is red

[size=3]This text is size 3[/size]
   This text is size 3

[font=Tahoma]This font is Tahoma[/font]
   This font is Tahoma


[align=center]This is centered[/align]
This is centered

[align=right]This is right-aligned[/align]

This is right-aligned


[list]
[*]List Item #1
[*]List Item #2
[*]List Item #3
[/list]
  • List item #1
  • List item #2
  • List Item #3
You can make an ordered list by using [list=1] for a numbered, and [list=a] for an alphabetical list.
Valid list start index's are... 1 a A i I

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020