How to write BB codes in this forum?

  • Thread starter Jiho
  • Start date
  • #1
20
4
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?
 

Attachments

  • upload_2019-2-14_3-21-40.png
    upload_2019-2-14_3-21-40.png
    2.5 KB · Views: 549
  • upload_2019-2-14_3-21-51.png
    upload_2019-2-14_3-21-51.png
    2.9 KB · Views: 257
  • upload_2019-2-14_3-23-19.png
    upload_2019-2-14_3-23-19.png
    3 KB · Views: 535

Answers and Replies

  • #2
15,549
13,656
How about:
[Code=Python]xyz[/Code]
Python:
xyz
 
  • Like
Likes Jiho and jim mcnamara
  • #3
jtbell
Mentor
15,816
4,109
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
 

Attachments

  • code1.gif
    code1.gif
    9.6 KB · Views: 359
  • code2.gif
    code2.gif
    13.5 KB · Views: 370

Related Threads on How to write BB codes in this forum?

  • Last Post
Replies
10
Views
3K
  • Last Post
Replies
16
Views
16K
  • Last Post
Replies
22
Views
2K
Replies
7
Views
4K
  • Last Post
2
Replies
32
Views
3K
  • Last Post
Replies
16
Views
3K
Replies
1
Views
4K
M
Replies
1
Views
3K
  • Last Post
Replies
8
Views
2K
  • Last Post
Replies
13
Views
2K
Top