-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
not being correctly formatted in documentation
#15463
Comments
pulldown-cmark/pulldown-cmark#713 is it something related to this? |
@notpeter Seems to be the way Pyright handle whitespace and tabulation in doctoring: https://github.com/microsoft/pyright/blob/386b7fe0a53632e9666ba44d2c0a8ae1e7a9aa4d/packages/pyright-internal/src/analyzer/docStringConversion.ts#L297 |
Pyright appears to be converting all leading spaces from docstrings into a series of pulldown_cmark (which Zed uses for Markdown rendering) has decided this is correct behavior to preserve raw HTML escapes inside other HTML blocks. So Zed likely needs to reconvert these |
Check for existing issues
Describe the bug / provide steps to reproduce it
Environment
Zed: v0.146.1 (Zed Preview)
OS: macOS 14.5.0
Memory: 32 GiB
Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: