-
Notifications
You must be signed in to change notification settings - Fork 768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for code block wrapped with "~~~" #4612
Comments
Thanks for the issue but I'm not sure I understand what you're asking for. Can you describe a more concrete example? Is it something like this? def foo():
'''
Doc string goes here
~~~
Code block goes here?
~~~
''' If that's what you're looking for, I believe we turn all doc strings into markdown. Markdown usually follows this format: def foo():
"""
Comment here:
```python
def bar():
pass
```
""" |
Is there another tool that supports |
Oh maybe github does :) def foo():
pass |
Okay seems like we should just support this as it seems to be a standard for other tools and languages. |
This issue has been fixed in prerelease version 2023.7.43, which we've just released. You can find the changelog here: CHANGELOG.md |
Type: Feature Request
In my python function's docstring I wrote a code block, wrapped with
~~~
. Turns out, it doesn't recognized as code block, as opposed to```
variant. I want to use both for code blocks.Extension version: 2023.7.20
VS Code version: Code 1.80.0 (Universal) (660393deaaa6d1996740ff4880f1bad43768c814, 2023-07-04T13:39:33.766Z)
OS version: Darwin arm64 22.2.0
Modes:
The text was updated successfully, but these errors were encountered: