Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to write BB codes in this forum?

Tags:
  1. Feb 13, 2019 at 12:27 PM #1
    Hello.

    I want to show like this upload_2019-2-14_3-23-19.png

    not
    upload_2019-2-14_3-21-40.png

    I tried [PYTHON], [Python], [ CODE](Python), etc. But They weren't run. How can I display my programming language?
     

    Attached Files:

  2. jcsd
  3. Feb 13, 2019 at 12:29 PM #2

    fresh_42

    User Avatar
    2018 Award

    Staff: Mentor

    How about:
    [Code=Python]xyz[/Code]
    Code (Python):
    xyz
     
  4. Feb 13, 2019 at 4:39 PM #3

    jtbell

    User Avatar

    Staff: Mentor

    Or, as per this sticky thread in the programming forum:

    Read this before posting code! GeSHi Syntax Highlighter

    Click the "+" ("Insert...") button in the editing palette, then choose the "Code" option. You'll get a menu of choices for the language (including Python, of course), and a box to type your code into.

    code1.gif

    code2.gif
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?