Python Language formatting
-
Can anyone tell me what is the best option for the code formatting 'lang' attribute for use with Python? I do not see it as an option in the Article FAQ, maybe it can be added given the prevalence of the language nowadays. Thanks, D
Dave Find Me On:Web|Youtube|Facebook|Twitter|LinkedIn Folding Stats: Team CodeProject
-
Can anyone tell me what is the best option for the code formatting 'lang' attribute for use with Python? I do not see it as an option in the Article FAQ, maybe it can be added given the prevalence of the language nowadays. Thanks, D
Dave Find Me On:Web|Youtube|Facebook|Twitter|LinkedIn Folding Stats: Team CodeProject
Welcome back Dave. The FAQ is not up-to-date. Python is supported and listed in the dropdown menu for code formatting:
# Python code formatting with
print('Hello, world!')
If you want you can edit the FAQ.
-
Welcome back Dave. The FAQ is not up-to-date. Python is supported and listed in the dropdown menu for code formatting:
# Python code formatting with
print('Hello, world!')
If you want you can edit the FAQ.
Thanks for the welcome back Jochen! And thanks, see that now in the drop down, not something I think I have ever used, I have always lived in source view and hard coded the lang. So that's probably my fault for lack of observation! Cheers, D
Dave Find Me On:Web|Youtube|Facebook|Twitter|LinkedIn Folding Stats: Team CodeProject