May-24-2017, 06:16 PM
OMG. This might be stupidly simple. Can someone else confirm this?
The only way i can ensure to get formatted text is from PyCharm. Otherwise i had trouble finding it to do the rich-text.
If others get this same we can just switch be default to source mode.
Or you can copy this...
@decorator(param=1)
def f(x):
""" Syntax Highlighting Demo
@param x Parameter"""
s = ("Test", 2+3, {'a': 'b'}, x) # Comment
print s[0].lower()
class Foo:
def __init__(self):
The only way i can ensure to get formatted text is from PyCharm. Otherwise i had trouble finding it to do the rich-text.
- make sure you have WYSIWYG by selecting formatted code and pasting it with just Ctrl + v to get the formatted text. Ensure you get what is below.
- Go to User CP -> Edit Options -> Other Options -> And then check the option for "Put the editor in source mode"
- (hard refresh) do not use an old tab when you were using WYSIWYG
- paste again the same formatted text with Ctrl + v and it should NOT be formatted
If others get this same we can just switch be default to source mode.
Or you can copy this...
@decorator(param=1)
def f(x):
""" Syntax Highlighting Demo
@param x Parameter"""
s = ("Test", 2+3, {'a': 'b'}, x) # Comment
print s[0].lower()
class Foo:
def __init__(self):