I created a vscode snippet for a a python function definiton and I am wondering if this is the only and/or recommended way of escaping the python block comments (""" """).
global snippets file
{
"def ": {
"scope": "python",
"prefix": "def func",
"body": [
"def $1 ():
\"\"\"\" \"\"\"\ "
],
"description": "Python function"
}
}
output
def ():
""" """